Compartilhar via


IVsSimplePreviewChangesList.LocateExpandedList Method

Definition

Given a child list, locate its parent item in the preview list.

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

Parameters

pIVsSimplePreviewChangesListChild
IVsSimplePreviewChangesList

[in] An IVsSimplePreviewChangesList object that contains the child list.

piIndex
UInt32

[out] Returns the index of the item that is the parent of the child list.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

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

Applies to