EncryptionPropertyCollection.IndexOf(EncryptionProperty) 方法

定义

确定 EncryptionPropertyCollection 对象中特定项的索引。

public:
 int IndexOf(System::Security::Cryptography::Xml::EncryptionProperty ^ value);
public int IndexOf (System.Security.Cryptography.Xml.EncryptionProperty value);
member this.IndexOf : System.Security.Cryptography.Xml.EncryptionProperty -> int
Public Function IndexOf (value As EncryptionProperty) As Integer

参数

value
EncryptionProperty

要在 EncryptionProperty 对象中定位的 EncryptionPropertyCollection 对象。

返回

Int32

如果在集合中找到该对象,则为 value;否则为 -1。

适用于