IVsSimplePreviewChangesList::LocateExpandedList Method (IVsSimplePreviewChangesList^, UInt32)
Visual Studio 2015
Given a child list, locate its parent item in the preview list.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
int LocateExpandedList( IVsSimplePreviewChangesList^ pIVsSimplePreviewChangesListChild, [OutAttribute] unsigned int% piIndex )
Parameters
- pIVsSimplePreviewChangesListChild
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsSimplePreviewChangesList^
[in] An IVsSimplePreviewChangesList object that contains the child list.
- piIndex
-
Type:
System::UInt32
[out] Returns the index of the item that is the parent of the child list.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell80.idl:
HRESULT IVsSimplePreviewChangesList::LocateExpandedList(
[in] IVsSimplePreviewChangesList *pIVsSimplePreviewChangesListChild,
[out] ULONG *iIndex
);
Show: