IVsDataExplorerNodeSelection.Remove Method

Definition

Overloads

Remove(IVsDataObject)

Removes the node specified by a data object from the node selection group.

Remove(Int32)

Removes the node specified by its numerical identifier value from the node selection group.

Remove(String)

Removes the node specified by its full name from the node selection group.

Remove(String, Object[])

Removes the specified node from the node selection group.

Remove(IVsDataObject)

Removes the node specified by a data object from the node selection group.

public:
 bool Remove(Microsoft::VisualStudio::Data::Services::IVsDataObject ^ obj);
public bool Remove (Microsoft.VisualStudio.Data.Services.IVsDataObject obj);
abstract member Remove : Microsoft.VisualStudio.Data.Services.IVsDataObject -> bool
Public Function Remove (obj As IVsDataObject) As Boolean

Parameters

obj
IVsDataObject

A data object containing the properties that identify the node to remove.

Returns

true if the node was removed; otherwise, false.

Applies to

Remove(Int32)

Removes the node specified by its numerical identifier value from the node selection group.

public:
 bool Remove(int itemId);
public bool Remove (int itemId);
abstract member Remove : int -> bool
Public Function Remove (itemId As Integer) As Boolean

Parameters

itemId
Int32

A numerical value that identifies the node to be removed.

Returns

true if the node was removed; otherwise, false.

Applies to

Remove(String)

Removes the node specified by its full name from the node selection group.

public:
 bool Remove(System::String ^ fullName);
public bool Remove (string fullName);
abstract member Remove : string -> bool
Public Function Remove (fullName As String) As Boolean

Parameters

fullName
String

The full name of the node to remove.

Returns

true if the node was removed; otherwise, false.

Applies to

Remove(String, Object[])

Removes the specified node from the node selection group.

public:
 bool Remove(System::String ^ typeName, cli::array <System::Object ^> ^ identifier);
public bool Remove (string typeName, object[] identifier);
abstract member Remove : string * obj[] -> bool
Public Function Remove (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 remove.

identifier
Object[]

An array of data object identifier parts that represent the node.

Returns

true if the node was removed; otherwise, false.

Applies to