Item Property
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets or sets the element at the specified index.
Namespace: System.Security.Cryptography.X509Certificates
Assembly: System.Security (in System.Security.dll)
public: property X509Certificate2^ Item[int index] { X509Certificate2^ get (int index); void set (int index, X509Certificate2^ value); }
Parameters
- index
- Type: System..::..Int32
The zero-based index of the element to get or set.
Property Value
Type: System.Security.Cryptography.X509Certificates..::..X509Certificate2The element at the specified index.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | index is less than zero. -or- index is equal to or greater than the Count property. |
| ArgumentNullException | index is nullNothingnullptrunita null reference (Nothing in Visual Basic). |
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.
Show: