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
参数超出集合的有效索引范围。