EncryptionPropertyCollection.Contains(EncryptionProperty) 方法
定义
确定 EncryptionPropertyCollection 对象是否包含特定的 EncryptionProperty 对象。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 -> bool
Public Function Contains (value As EncryptionProperty) As Boolean
参数
- value
- EncryptionProperty
要在 EncryptionProperty 对象中定位的 EncryptionPropertyCollection 对象。The EncryptionProperty object to locate in the EncryptionPropertyCollection object.
返回
如果在 EncryptionProperty 对象中找到 EncryptionPropertyCollection 对象,则为 true;否则为 false。true if the EncryptionProperty object is found in the EncryptionPropertyCollection object; otherwise, false.