Share via


IVsDataObjectCollection.Contains Method

Definition

Overloads

Contains(Object[])

Indicates whether the collection of data objects contains a data object corresponding to the specified identifier.

Contains(String)

Indicates whether the collection of data objects contains a data object corresponding to the specified identifier.

Contains(Object[])

Indicates whether the collection of data objects contains a data object corresponding to the specified identifier.

public:
 bool Contains(cli::array <System::Object ^> ^ identifier);
public bool Contains (object[] identifier);
abstract member Contains : obj[] -> bool
Public Function Contains (identifier As Object()) As Boolean

Parameters

identifier
Object[]

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

Returns

true if the specified data object exists in the collection; otherwise, false.

Applies to

Contains(String)

Indicates whether the collection of data objects contains a data object corresponding to the specified identifier.

public:
 bool Contains(System::String ^ identifier);
public bool Contains (string identifier);
abstract member Contains : string -> bool
Public Function Contains (identifier As String) As Boolean

Parameters

identifier
String

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

Returns

true if the specified data object exists in the collection; otherwise, false.

Applies to