Inserts an element into the DistinguishedNameList at the specified index.
Namespace: LLCryptoLib.Security.CertificatesAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
| C# |
|---|
public void Insert( int index, DistinguishedName value ) |
| Visual Basic |
|---|
Public Sub Insert ( _ index As Integer, _ value As DistinguishedName _ ) |
| Visual C++ |
|---|
public: void Insert( int index, DistinguishedName^ value ) |
Parameters
- index
- Type: System..::..Int32
The zero-based index at which value should be inserted.
- value
- Type: LLCryptoLib.Security.Certificates..::..DistinguishedName
The DistinguishedName to insert.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | value is a null reference (Nothing in Visual Basic). |
| System..::..ArgumentOutOfRangeException | index is less than zero -or- index is greater than Count. |
| System..::..NotSupportedException | The DistinguishedNameList is read-only -or- the DistinguishedNameList has a fixed size. |