Partager via


IVsDataObjectCollection.Contains Method (array<Object )

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

Namespace:  Microsoft.VisualStudio.Data.Services
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'Declaration
Function Contains ( _
    identifier As Object() _
) As Boolean
bool Contains(
    Object[] identifier
)
bool Contains(
    array<Object^>^ identifier
)
abstract Contains : 
        identifier:Object[] -> bool
function Contains(
    identifier : Object[]
) : boolean

Parameters

  • identifier
    Type: array<System.Object[]

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

Return Value

Type: System.Boolean
true if the specified data object exists in the collection; otherwise, false.

.NET Framework Security

See Also

Reference

IVsDataObjectCollection Interface

Contains Overload

Microsoft.VisualStudio.Data.Services Namespace