共用方式為


X509CertificateCollection.Item[Int32] 屬性

定義

取得或設定目前 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 中以零為基底的項目索引。

屬性值

指定索引處的目前 X509CertificateCollectionX509Certificate

例外狀況

index 參數超出集合索引的有效範圍。

適用於