IVsDataViewHierarchy.RemoveItem Method (Int32)
Removes the specified node from Server Explorer and discards it.
Namespace: Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'Déclaration
Function RemoveItem ( _
itemId As Integer _
) As Boolean
bool RemoveItem(
int itemId
)
bool RemoveItem(
int itemId
)
abstract RemoveItem :
itemId:int -> bool
function RemoveItem(
itemId : int
) : boolean
Parameters
- itemId
Type: System.Int32
A numerical identifier for the node to remove.
Return Value
Type: System.Boolean
true if the node is removed; otherwise, false.
Remarks
This method delegates the call to the RemoveItem method. It passes the item ID for the integer parameter and false for the Boolean argument.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsDataViewHierarchy Interface
Microsoft.VisualStudio.Data.Services.SupportEntities Namespace