Freigeben über


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
'Usage
Dim instance As IVsLiteTree
Dim pNode As IVsLiteTreeList
Dim iStart As UInteger
Dim Count As UInteger
Dim returnValue As Integer

returnValue = instance.DeleteItems(pNode, _
    iStart, Count)
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: System.UInt32
    [in] Index of the item where the deletion begins.

Return Value

Type: System.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

IVsLiteTree Members

Microsoft.VisualStudio.Shell.Interop Namespace