IVsPreviewChangesList.GetExpandedList(UInt32, Int32, IVsLiteTreeList) 方法

定义

返回已在树视图中展开的指定项的子列表。

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

参数

index
UInt32

中要为其获取子级的项的索引。

pfCanRecurse
Int32

TRUE 如果可以递归调用子列表以访问其子列表,则返回非零 () ; 否则,将返回零 (FALSE) 。

pptlNode
IVsLiteTreeList

弄返回一个 IVsLiteTreeList 对象,该对象包含请求的子元素。

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

注解

COM 签名

从 vsshell80:

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

适用于