Freigeben über


IVsDataViewHierarchy.DiscardItem(Int32) Method

Definition

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.

Applies to