Edit

Share via


X509CertificateCollection.Item[Int32] Property

Definition

Gets or sets the entry at the specified index of the current 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

Parameters

index
Int32

The zero-based index of the entry to locate in the current X509CertificateCollection.

Property Value

The X509Certificate at the specified index of the current X509CertificateCollection.

Exceptions

The index parameter is outside the valid range of indexes for the collection.

Applies to