Partager via


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
bool Contains(
    string identifier
)
bool Contains(
    String^ identifier
)
abstract Contains : 
        identifier:string -> bool
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

Contains Overload

Microsoft.VisualStudio.Data.Services Namespace