IVsLiteTree.DeleteItems(IVsLiteTreeList, UInt32, UInt32) Method

Definition

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

public:
 int DeleteItems(Microsoft::VisualStudio::Shell::Interop::IVsLiteTreeList ^ pNode, System::UInt32 iStart, System::UInt32 Count);
public:
 int DeleteItems(Microsoft::VisualStudio::Shell::Interop::IVsLiteTreeList ^ pNode, unsigned int iStart, unsigned int Count);
int DeleteItems(Microsoft::VisualStudio::Shell::Interop::IVsLiteTreeList const & pNode, unsigned int iStart, unsigned int Count);
public int DeleteItems (Microsoft.VisualStudio.Shell.Interop.IVsLiteTreeList pNode, uint iStart, uint Count);
abstract member DeleteItems : Microsoft.VisualStudio.Shell.Interop.IVsLiteTreeList * uint32 * uint32 -> int
Public Function DeleteItems (pNode As IVsLiteTreeList, iStart As UInteger, Count As UInteger) As Integer

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