Mentalis.org Security Library documentation

DistinguishedNameList.Add Method 

Adds a DistinguishedName to the end of the DistinguishedNameList.

[Visual Basic]
Public Function Add( _
   ByVal value As DistinguishedName _
) As Integer
[C#]
public int Add(
   DistinguishedName value
);

Parameters

value
The DistinguishedName to be added to the end of the DistinguishedNameList.

Return Value

The list index at which the value has been added.

Exceptions

Exception TypeCondition
ArgumentNullExceptionvalue is a null reference (Nothing in Visual Basic).
NotSupportedExceptionThe list is read-only -or- the list has a fixed size.

See Also

DistinguishedNameList Class | DistinguishedNameList Members | Org.Mentalis.Security.Certificates Namespace