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
pNode
Type: Microsoft.VisualStudio.Shell.Interop.IVsLiteTreeList[in] Pointer to the IVsLiteTreeList to delete items from.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.