IVsDataExplorerNodeSelection.Contains Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Contains(IVsDataObject) |
Indicates whether the group of selected nodes contains the node specified as a data object. |
Contains(Int32) |
Indicates whether the group of selected nodes contains the node specified by its numerical identifier value. |
Contains(String) |
Indicates whether the group of selected nodes contains the node specified by its full name. |
Contains(String, Object[]) |
Indicates whether the group of selected nodes contains the node specified by its full name. |
Contains(IVsDataObject)
Indicates whether the group of selected nodes contains the node specified as a data object.
public:
bool Contains(Microsoft::VisualStudio::Data::Services::IVsDataObject ^ obj);
public bool Contains (Microsoft.VisualStudio.Data.Services.IVsDataObject obj);
abstract member Contains : Microsoft.VisualStudio.Data.Services.IVsDataObject -> bool
Public Function Contains (obj As IVsDataObject) As Boolean
Parameters
- obj
- IVsDataObject
A data object containing the properties that identify the node to retrieve.
Returns
true if the specified node is present in the node selection; otherwise, false.
Applies to
Contains(Int32)
Indicates whether the group of selected nodes contains the node specified by its numerical identifier value.
public:
bool Contains(int itemId);
public bool Contains (int itemId);
abstract member Contains : int -> bool
Public Function Contains (itemId As Integer) As Boolean
Parameters
- itemId
- Int32
A numerical value that identifies the node to check the presence of.
Returns
true if the specified node is present in the node selection; otherwise, false.
Applies to
Contains(String)
Indicates whether the group of selected nodes contains the node specified by its full name.
public:
bool Contains(System::String ^ fullName);
public bool Contains (string fullName);
abstract member Contains : string -> bool
Public Function Contains (fullName As String) As Boolean
Parameters
- fullName
- String
The full name of the node to retrieve.
Returns
true if the specified node is present in the node selection; otherwise, false.
Applies to
Contains(String, Object[])
Indicates whether the group of selected nodes contains the node specified by its full name.
public:
bool Contains(System::String ^ typeName, cli::array <System::Object ^> ^ identifier);
public bool Contains (string typeName, object[] identifier);
abstract member Contains : string * obj[] -> bool
Public Function Contains (typeName As String, identifier As Object()) As Boolean
Parameters
- typeName
- String
The name of the data object type that is represented in the node to retrieve.
- identifier
- Object[]
An array of data object identifier parts that represent the node.
Returns
true if the specified node is present in the node selection; otherwise, false.