Compartir a través de


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

'Declaration
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

See Also

Reference

IVsDataViewHierarchy Interface

RemoveItem Overload

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace

DiscardItem