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
'Usage
Dim instance As IVsDataObjectCollection
Dim identifier As Object()
Dim returnValue As Boolean
returnValue = instance.Contains(identifier)
bool Contains(
Object[] identifier
)
bool Contains(
array<Object^>^ identifier
)
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsDataObjectCollection Interface