IVsLiteTree::InsertItems Method (IVsLiteTreeList^, UInt32, UInt32)
Visual Studio 2015
Insert items without performing realignment.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- pNode
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsLiteTreeList^
[In] Pointer to the IVsLiteTreeList to modify. Using -1 indicates starting at the beginning of the list.
- iAfter
-
Type:
System::UInt32
[In] Integer index of the after which to insert the new node.
- Count
-
Type:
System::UInt32
[In] Integer containing the count of nodes inserted.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Use sparingly to adjust an existing node—don't add a 0 child node and then insert multiple items.
[C++]
From vsshell.idl:
HRESULT IVsLiteTree::InsertItems( [in] IVsLiteTreeList *pNode, [in] ULONG iAfter, [in] ULONG Count );
Show: