IVsSimplePreviewChangesList.LocateExpandedList 方法

定义

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

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

参数

pIVsSimplePreviewChangesListChild
IVsSimplePreviewChangesList

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

piIndex
UInt32

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

返回

Int32

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

注解

COM 签名

从 vsshell80:

HRESULT IVsSimplePreviewChangesList::LocateExpandedList(  
   [in]  IVsSimplePreviewChangesList *pIVsSimplePreviewChangesListChild,   
   [out] ULONG                       *iIndex  
);  

适用于