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
- 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.
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.