IVsDataViewHierarchy.DiscardItem(Int32) 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.
Removes the specified node from Server Explorer and de-allocates its corresponding object from memory.
public:
bool DiscardItem(int itemId);
public bool DiscardItem (int itemId);
abstract member DiscardItem : int -> bool
Public Function DiscardItem (itemId As Integer) As Boolean
Parameters
- itemId
- Int32
A numerical identifier for the node to remove.
Returns
true if node is removed; otherwise, false.