Mentalis.org Security Library documentation

DistinguishedNameList.Contains Method 

Determines whether an element is in the DistinguishedNameList.

[Visual Basic]
Public Function Contains( _
   ByVal value As DistinguishedName _
) As Boolean
[C#]
public bool Contains(
   DistinguishedName value
);

Parameters

value
The Object to locate in the DistinguishedNameList. The element to locate cannot be a null reference (Nothing in Visual Basic).

Return Value

true if item is found in the DistinguishedNameList; otherwise, false.

Exceptions

Exception TypeCondition
ArgumentNullExceptionvalue is a null reference (Nothing in Visual Basic).

See Also

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