IVsDataObjectCollection.Contains Method (String)

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 String _
) As Boolean
'Usage
Dim instance As IVsDataObjectCollection 
Dim identifier As String 
Dim returnValue As Boolean 

returnValue = instance.Contains(identifier)
bool Contains(
    string identifier
)
bool Contains(
    String^ identifier
)
function Contains(
    identifier : String
) : boolean

Parameters

  • identifier
    Type: System.String

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

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

IVsDataObjectCollection Members

Contains Overload

Microsoft.VisualStudio.Data.Services Namespace