IVsDataExplorerChildNodeCollection.Contains Method (String, array<Object[])

Indicates whether Server Explorer contains a connection node corresponding to the specified type name and identifiers.

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

Syntax

'Declaration
Function Contains ( _
    typeName As String, _
    identifier As Object() _
) As Boolean
'Usage
Dim instance As IVsDataExplorerChildNodeCollection 
Dim typeName As String 
Dim identifier As Object()
Dim returnValue As Boolean 

returnValue = instance.Contains(typeName, _
    identifier)
bool Contains(
    string typeName,
    Object[] identifier
)
bool Contains(
    String^ typeName, 
    array<Object^>^ identifier
)
function Contains(
    typeName : String, 
    identifier : Object[]
) : boolean

Parameters

  • typeName
    Type: System.String

    The name of the requested data object's type.

  • identifier
    Type: array<System.Object[]

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

Return Value

Type: System.Boolean
true if Server Explorer contains the specified connection node; otherwise, false.

Exceptions

Exception Condition
ArgumentNullException

The typeName or identifier parameter is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

IVsDataExplorerChildNodeCollection Interface

IVsDataExplorerChildNodeCollection Members

Contains Overload

Microsoft.VisualStudio.Data.Services Namespace