Partager via


IVsDataExplorerNodeSelection.Contains Method (String, array<Object )

Indicates whether the group of selected nodes contains the node specified by its full name.

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

Syntax

'Déclaration
Function Contains ( _
    typeName As String, _
    identifier As Object() _
) As Boolean
bool Contains(
    string typeName,
    Object[] identifier
)
bool Contains(
    String^ typeName, 
    array<Object^>^ identifier
)
abstract Contains : 
        typeName:string * 
        identifier:Object[] -> bool 
function Contains(
    typeName : String, 
    identifier : Object[]
) : boolean

Parameters

  • typeName
    Type: System.String
    The name of the data object type that is represented in the node to retrieve.
  • identifier
    Type: array<System.Object[]
    An array of data object identifier parts that represent the node.

Return Value

Type: System.Boolean
true if the specified node is present in the node selection; otherwise, false.

.NET Framework Security

See Also

Reference

IVsDataExplorerNodeSelection Interface

Contains Overload

Microsoft.VisualStudio.Data.Services Namespace