IVsObjectList2.LocateExpandedList(IVsLiteTreeList, UInt32) Método

Definição

Retorna um ponteiro para um número de índice da lista de árvore especificada.

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

Parâmetros

ExpandedList
IVsLiteTreeList

no Ponteiro para a IVsLiteTreeList interface que especifica uma lista expandida.

iIndex
UInt32

fora Ponteiro para um inteiro que contém o índice da lista de árvore especificada.

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 vsshell80. idl:

[C++]

HRESULT IVsObjectList2::LocateExpandedList(  
   [in] IVsLiteTreeList* ExpandedList,   
   [out] ULONG *iIndex  
);  

O ambiente chamará esse método durante um ReAlign comando se o atributo do nó TF_NORELOCATE não estiver definido, conforme determinado por uma chamada para GetFlags . Se a lista não puder ser localizada, ExpandedList será descartada.

Aplica-se a