IVsSimplePreviewChangesList.LocateExpandedList 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
给定一个子列表,在预览列表中找到其父项。
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
弄返回作为子列表的父级的项的索引。
返回
如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。
注解
COM 签名
从 vsshell80:
HRESULT IVsSimplePreviewChangesList::LocateExpandedList(
[in] IVsSimplePreviewChangesList *pIVsSimplePreviewChangesListChild,
[out] ULONG *iIndex
);