IVsObjectList.GetExpandedList(UInt32, Int32, IVsLiteTreeList) Yöntem

Tanım

Bir ağaç listesi düğümünü genişletir.

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

Parametreler

index
UInt32

'ndaki Genişletilecek geçerli ağaç listesinin alt düğümünün dizinini belirtir.

pfCanRecurse
Int32

dışı Ağaç listesinin bir işaret edebilir olduğunu belirten bayrak işaretçisi.

pptlNode
IVsLiteTreeList

dışı Seçili düğümün arabirimine yönelik işaretçi IVsLiteTreeList .

Döndürülenler

Int32

Yöntem başarılı olursa, döndürür S_OK . Başarısız olursa, bir hata kodu döndürür.

Uygulamalar

Açıklamalar

COM Imzası

Vsshell. IDL dosyasından:

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

Başarılı bir dönüşte, ağaç listesi düğümü, tüm alt düğümleri gösteren nesne tarayıcısı penceresinde genişletilir. Bu, bir listeyi genişletmek için kullanılabilecek iki mekanizmalardan biridir. Tercih edilen mekanizma GetCategoryField .

Şunlara uygulanır