IVsPreviewChangesList.LocateExpandedList Method

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)


Function LocateExpandedList ( _
    ExpandedList As IVsLiteTreeList, _
    <OutAttribute> ByRef iIndex As UInteger _
) As Integer
‘사용 방법
Dim instance As IVsPreviewChangesList
Dim ExpandedList As IVsLiteTreeList
Dim iIndex As UInteger
Dim returnValue As Integer

returnValue = instance.LocateExpandedList(ExpandedList, _
int LocateExpandedList(
    IVsLiteTreeList ExpandedList,
    out uint iIndex
int LocateExpandedList(
    [InAttribute] IVsLiteTreeList^ ExpandedList, 
    [OutAttribute] unsigned int% iIndex
abstract LocateExpandedList : 
        ExpandedList:IVsLiteTreeList * 
        iIndex:uint32 byref -> int 
function LocateExpandedList(
    ExpandedList : IVsLiteTreeList, 
    iIndex : uint
) : int


  • 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.


COM Signature

From vsshell80.idl:

HRESULT IVsPreviewChangesList::LocateExpandedList(
   [in]  IVsLiteTreeList *ExpandedList, 
   [out] ULONG           *iIndex

.NET Framework Security

See Also


IVsPreviewChangesList Interface

IVsPreviewChangesList Members

Microsoft.VisualStudio.Shell.Interop Namespace