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 物件。

傳回

如果可在集合中找到,即為 value 的索引,否則為 -1。

適用於