X509CertificateCollection.Item[Int32] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.