Searches for the specified DistinguishedName and returns the zero-based index of the first occurrence within the entire DistinguishedNameList.
[Visual Basic]
Public Function IndexOf( _
ByVal value As DistinguishedName _
) As Integer
The zero-based index of the first occurrence of value within the entire DistinguishedNameList, if found; otherwise, -1.
Exception Type | Condition |
---|---|
ArgumentNullException | value is a null reference (Nothing in Visual Basic). |
DistinguishedNameList Class | DistinguishedNameList Members | Org.Mentalis.Security.Certificates Namespace