IVsLiteTree.InsertItems(IVsLiteTreeList, UInt32, UInt32) Método

Definição

Inserir itens sem executar o realinhamento.

public:
 int InsertItems(Microsoft::VisualStudio::Shell::Interop::IVsLiteTreeList ^ pNode, System::UInt32 iAfter, System::UInt32 Count);
public:
 int InsertItems(Microsoft::VisualStudio::Shell::Interop::IVsLiteTreeList ^ pNode, unsigned int iAfter, unsigned int Count);
int InsertItems(Microsoft::VisualStudio::Shell::Interop::IVsLiteTreeList const & pNode, unsigned int iAfter, unsigned int Count);
public int InsertItems (Microsoft.VisualStudio.Shell.Interop.IVsLiteTreeList pNode, uint iAfter, uint Count);
abstract member InsertItems : Microsoft.VisualStudio.Shell.Interop.IVsLiteTreeList * uint32 * uint32 -> int
Public Function InsertItems (pNode As IVsLiteTreeList, iAfter As UInteger, Count As UInteger) As Integer

Parâmetros

pNode
IVsLiteTreeList

No Ponteiro para o IVsLiteTreeList a ser modificado. O uso de-1 indica a partir do início da lista.

iAfter
UInt32

No Índice de inteiro do após o qual inserir o novo nó.

Count
UInt32

No Inteiro que contém a contagem de nós inseridos.

Retornos

Int32

Se o método for bem-sucedido, retornará S_OK. Se falhar, retornará um código de erro.

Comentários

Use com moderação para ajustar um nó existente — não adicione um nó filho 0 e, em seguida, insira vários itens.

Assinatura COM

[C++]

De VSShell. idl:

HRESULT IVsLiteTree::InsertItems(  
   [in] IVsLiteTreeList *pNode,   
   [in] ULONG iAfter,   
   [in] ULONG Count  
);  

Aplica-se a