IVsPreviewChangesList.LocateExpandedList(IVsLiteTreeList, UInt32) 方法

定义

给定一个子列表,在预览列表中找到其父项。

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

参数

ExpandedList
IVsLiteTreeList

中一个 IVsLiteTreeList 包含子列表的对象。

iIndex
UInt32

弄返回作为子列表的父级的项的索引。

返回

Int32

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

注解

COM 签名

从 vsshell80:

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

适用于