Partager via


IVsLiteTree.DeleteItems Method

Used to delete specific items without realigning the tree by calling ReAlign.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
Function DeleteItems ( _
    pNode As IVsLiteTreeList, _
    iStart As UInteger, _
    Count As UInteger _
) As Integer
int DeleteItems(
    IVsLiteTreeList pNode,
    uint iStart,
    uint Count
)
int DeleteItems(
    [InAttribute] IVsLiteTreeList^ pNode, 
    [InAttribute] unsigned int iStart, 
    [InAttribute] unsigned int Count
)
abstract DeleteItems : 
        pNode:IVsLiteTreeList * 
        iStart:uint32 * 
        Count:uint32 -> int
function DeleteItems(
    pNode : IVsLiteTreeList, 
    iStart : uint, 
    Count : uint
) : int

Parameters

  • iStart
    Type: UInt32

    [in] Index of the item where the deletion begins.

  • Count
    Type: UInt32

    [in] Number of items to delete.

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

[C++]

From vsshell.idl:

HRESULT IVsLiteTree::DeleteItems(
   [in] IVsLiteTreeList *pNode,
   [in] ULONG iStart,
   [in] ULONG Count
);

.NET Framework Security

See Also

Reference

IVsLiteTree Interface

Microsoft.VisualStudio.Shell.Interop Namespace