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
'宣言
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
- 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.