Searches for an Object with the specified Object identifier and returns the zero-based index of the first occurrence within the entire list.

Namespace: LLCryptoLib.Security.Certificates
Assembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)

Syntax

C#
public int IndexOf(
	string oid
)
Visual Basic
Public Function IndexOf ( _
	oid As String _
) As Integer
Visual C++
public:
int IndexOf(
	String^ oid
)

Parameters

oid
Type: System..::..String
The object identifier to search for.

Return Value

The zero-based index of the first occurrence of value within the entire list, if found; otherwise, -1.

See Also