X509CertificateCollection.Item[Int32] 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定目前 X509CertificateCollection 之指定索引處的項目。
public:
property System::Security::Cryptography::X509Certificates::X509Certificate ^ default[int] { System::Security::Cryptography::X509Certificates::X509Certificate ^ get(int index); void set(int index, System::Security::Cryptography::X509Certificates::X509Certificate ^ value); };
public System.Security.Cryptography.X509Certificates.X509Certificate this[int index] { get; set; }
member this.Item(int) : System.Security.Cryptography.X509Certificates.X509Certificate with get, set
Default Public Property Item(index As Integer) As X509Certificate
參數
- index
- Int32
目前 X509CertificateCollection 中以零為基底的項目索引。
屬性值
指定索引處的目前 X509CertificateCollection 之 X509Certificate。
例外狀況
index
參數超出集合索引的有效範圍。