IVsLiteTree::DeleteItems Method (IVsLiteTreeList^, UInt32, UInt32)

 

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)

int DeleteItems(
	IVsLiteTreeList^ pNode,
	unsigned int iStart,
	unsigned int Count
)

Parameters

pNode
Type: Microsoft.VisualStudio.Shell.Interop::IVsLiteTreeList^

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

iStart
Type: System::UInt32

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

Count
Type: System::UInt32

[in] Number of items to delete.

Return Value

Type: System::Int32

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

[C++]

From vsshell.idl:

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