IVsLiteTreeList.GetExpandedList(UInt32, Int32, IVsLiteTreeList) Método

Definição

Expande um nó de lista de árvore.

public:
 int GetExpandedList(System::UInt32 index, [Runtime::InteropServices::Out] int % pfCanRecurse, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsLiteTreeList ^ % pptlNode);
int GetExpandedList(unsigned int index, [Runtime::InteropServices::Out] int & pfCanRecurse, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsLiteTreeList const & & pptlNode);
public int GetExpandedList (uint index, out int pfCanRecurse, out Microsoft.VisualStudio.Shell.Interop.IVsLiteTreeList pptlNode);
abstract member GetExpandedList : uint32 * int * IVsLiteTreeList -> int
Public Function GetExpandedList (index As UInteger, ByRef pfCanRecurse As Integer, ByRef pptlNode As IVsLiteTreeList) As Integer

Parâmetros

index
UInt32

no Especifica o índice do nó filho da lista de árvore atual a ser expandida.

pfCanRecurse
Int32

fora Ponteiro para um sinalizador que indica que a lista de árvore pode recurse.

pptlNode
IVsLiteTreeList

fora Ponteiro para a interface do nó selecionado IVsLiteTreeList .

Retornos

Int32

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

Comentários

Assinatura COM

De VSShell. idl:

HRESULT IVsLiteTreeList::GetExpandedList(  
   [in] ULONG Index,  
   [out] BOOL *pfCanRecurse,  
   [out] IVsLiteTreeList **pptlNode  
);  

Após o retorno bem-sucedido, o nó da lista de árvore será expandido na janela pesquisador de objetos, mostrando todos os nós filho. Esse é um dos dois mecanismos disponíveis para expandir uma lista. O mecanismo preferencial é GetCategoryField .

Aplica-se a