IVsLiteTree.DeleteItems(IVsLiteTreeList, UInt32, UInt32) Method

Definition

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

C++/CX
public:
 int DeleteItems(Microsoft::VisualStudio::Shell::Interop::IVsLiteTreeList ^ pNode, unsigned int iStart, unsigned int Count);

Parameters

pNode
IVsLiteTreeList

[in] Pointer to the IVsLiteTreeList to delete items from.

iStart
UInt32

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

Count
UInt32

[in] Number of items to delete.

Returns

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  
);  

Applies to

Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019, 2022