Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Insert items without performing realignment.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function InsertItems ( _
pNode As IVsLiteTreeList, _
iAfter As UInteger, _
Count As UInteger _
) As Integer
'Usage
Dim instance As IVsLiteTree
Dim pNode As IVsLiteTreeList
Dim iAfter As UInteger
Dim Count As UInteger
Dim returnValue As Integer
returnValue = instance.InsertItems(pNode, _
iAfter, Count)
int InsertItems(
IVsLiteTreeList pNode,
uint iAfter,
uint Count
)
int InsertItems(
[InAttribute] IVsLiteTreeList^ pNode,
[InAttribute] unsigned int iAfter,
[InAttribute] unsigned int Count
)
abstract InsertItems :
pNode:IVsLiteTreeList *
iAfter:uint32 *
Count:uint32 -> int
function InsertItems(
pNode : IVsLiteTreeList,
iAfter : uint,
Count : uint
) : int
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.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
Use sparingly to adjust an existing node—don't add a 0 child node and then insert multiple items.
COM Signature
[C++]
From vsshell.idl:
HRESULT IVsLiteTree::InsertItems(
[in] IVsLiteTreeList *pNode,
[in] ULONG iAfter,
[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.