IVsDataViewHierarchy.RemoveItem 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
RemoveItem(Int32) |
Removes the specified node from Server Explorer and discards it. |
RemoveItem(Int32, Boolean) |
Removes the specified node from Server Explorer. Optionally, discards the specified node. |
RemoveItem(Int32)
Removes the specified node from Server Explorer and discards it.
public:
bool RemoveItem(int itemId);
public bool RemoveItem (int itemId);
abstract member RemoveItem : int -> bool
Public Function RemoveItem (itemId As Integer) As Boolean
Parameters
- itemId
- Int32
A numerical identifier for the node to remove.
Returns
true if the node is removed; otherwise, false.
Applies to
RemoveItem(Int32, Boolean)
Removes the specified node from Server Explorer. Optionally, discards the specified node.
public:
bool RemoveItem(int itemId, bool noDiscard);
public bool RemoveItem (int itemId, bool noDiscard);
abstract member RemoveItem : int * bool -> bool
Public Function RemoveItem (itemId As Integer, noDiscard As Boolean) As Boolean
Parameters
- itemId
- Int32
A numerical identifier for the node to remove.
- noDiscard
- Boolean
Specifies whether to discard the node (true) or not (false).
Returns
true if the node is removed; otherwise, false.