Inserts an element into the DistinguishedNameList at the specified index.
[Visual Basic]
Public Sub Insert( _
ByVal index As Integer, _
ByVal value As DistinguishedName _
)
| Exception Type | Condition |
|---|---|
| ArgumentNullException | value is a null reference (Nothing in Visual Basic). |
| ArgumentOutOfRangeException | index is less than zero -or- index is greater than Count. |
| NotSupportedException | The DistinguishedNameList is read-only -or- the DistinguishedNameList has a fixed size. |
DistinguishedNameList Class | DistinguishedNameList Members | Org.Mentalis.Security.Certificates Namespace