Searches for the specified DistinguishedName and returns the zero-based index of the first occurrence within the entire DistinguishedNameList.
Namespace: LLCryptoLib.Security.CertificatesAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
C# |
---|
public int IndexOf( DistinguishedName value ) |
Visual Basic |
---|
Public Function IndexOf ( _ value As DistinguishedName _ ) As Integer |
Visual C++ |
---|
public: int IndexOf( DistinguishedName^ value ) |
Parameters
- value
- Type: LLCryptoLib.Security.Certificates..::..DistinguishedName
The DistinguishedName to locate in the DistinguishedNameList.
Return Value
The zero-based index of the first occurrence of value within the entire DistinguishedNameList, if found; otherwise, -1.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | value is a null reference (Nothing in Visual Basic). |