IVsPreviewChangesList::LocateExpandedList Method (IVsLiteTreeList^, UInt32)

 

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

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

int LocateExpandedList(
	IVsLiteTreeList^ ExpandedList,
	[OutAttribute] unsigned int% iIndex
)

Parameters

ExpandedList
Type: Microsoft.VisualStudio.Shell.Interop::IVsLiteTreeList^

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

iIndex
Type: System::UInt32

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

Return Value

Type: System::Int32

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

From vsshell80.idl:

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