Mentalis.org Security Library documentation

DistinguishedNameList.Remove Method 

Removes the first occurrence of a specific object from the DistinguishedNameList.

[Visual Basic]
Public Sub Remove( _
   ByVal value As DistinguishedName _
)
[C#]
public void Remove(
   DistinguishedName value
);

Parameters

value
The DistinguishedName to remove from the DistinguishedNameList.

Exceptions

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

See Also

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