Inserts an element into the DistinguishedNameList at the specified index.

Namespace: LLCryptoLib.Security.Certificates
Assembly: 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

ExceptionCondition
System..::..ArgumentNullExceptionvalue is a null reference (Nothing in Visual Basic).
System..::..ArgumentOutOfRangeExceptionindex is less than zero -or- index is greater than Count.
System..::..NotSupportedExceptionThe DistinguishedNameList is read-only -or- the DistinguishedNameList has a fixed size.

See Also