EncryptionPropertyCollection.Contains(EncryptionProperty) Method   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the EncryptionPropertyCollection object contains a specific EncryptionProperty object.
public:
 bool Contains(System::Security::Cryptography::Xml::EncryptionProperty ^ value);public bool Contains(System.Security.Cryptography.Xml.EncryptionProperty value);member this.Contains : System.Security.Cryptography.Xml.EncryptionProperty -> boolPublic Function Contains (value As EncryptionProperty) As BooleanParameters
- value
- EncryptionProperty
The EncryptionProperty object to locate in the EncryptionPropertyCollection object.
Returns
true if the EncryptionProperty object is found in the EncryptionPropertyCollection object; otherwise, false.