IVsSimplePreviewChangesList.GetExpandedList 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回已在树视图中展开的指定项的子列表。
public:
int GetExpandedList(System::UInt32 index, [Runtime::InteropServices::Out] int % pfCanRecurse, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsSimplePreviewChangesList ^ % ppIVsSimplePreviewChangesList);
int GetExpandedList(unsigned int index, [Runtime::InteropServices::Out] int & pfCanRecurse, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsSimplePreviewChangesList const & & ppIVsSimplePreviewChangesList);
public int GetExpandedList (uint index, out int pfCanRecurse, out Microsoft.VisualStudio.Shell.Interop.IVsSimplePreviewChangesList ppIVsSimplePreviewChangesList);
abstract member GetExpandedList : uint32 * int * IVsSimplePreviewChangesList -> int
Public Function GetExpandedList (index As UInteger, ByRef pfCanRecurse As Integer, ByRef ppIVsSimplePreviewChangesList As IVsSimplePreviewChangesList) As Integer
参数
- index
- UInt32
中要为其获取子级的项的索引。
- pfCanRecurse
- Int32
弄 TRUE 如果可以递归调用子列表以访问其子列表,则返回非零 () ; 否则,将返回零 (FALSE) 。
- ppIVsSimplePreviewChangesList
- IVsSimplePreviewChangesList
弄返回一个 IVsSimplePreviewChangesList 对象,该对象包含请求的子元素。
返回
如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。
注解
COM 签名
从 vsshell80:
HRESULT IVsSimplePreviewChangesList::GetExpandedList(
[in] ULONG Index,
[out] BOOL *pfCanRecurse,
[out] IVsSimplePreviewChangesList **ppIVsSimplePreviewChangesList
);