IVsDataObjectCollection.IndexOf Method

Definition

Overloads

IndexOf(Object[])

Returns the index of the data object in the collection that matches the specified identifier.

IndexOf(String)

Returns the index of the data object in the collection that matches the specified identifier.

IndexOf(Object[])

Returns the index of the data object in the collection that matches the specified identifier.

public:
 int IndexOf(cli::array <System::Object ^> ^ identifier);
public int IndexOf (object[] identifier);
abstract member IndexOf : obj[] -> int
Public Function IndexOf (identifier As Object()) As Integer

Parameters

identifier
Object[]

An array containing the identifier parts that uniquely identify the data object requested.

Returns

An integer value, greater than or equal to 0, representing the index of the data object in the collection that matches the specified identifier, or -1 if the data object is not found.

Applies to

IndexOf(String)

Returns the index of the data object in the collection that matches the specified identifier.

public:
 int IndexOf(System::String ^ identifier);
public int IndexOf (string identifier);
abstract member IndexOf : string -> int
Public Function IndexOf (identifier As String) As Integer

Parameters

identifier
String

A string containing the identifier parts that uniquely identify the data object requested, separated by a delimiter character.

Returns

An integer value, greater than or equal to 0, representing the index of the data object in the collection that matches the specified identifier, or -1 if the data object is not found.

Applies to