Bagikan melalui


IVsSimplePreviewChangesList.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)

Syntax

'Declaration
Function LocateExpandedList ( _
    pIVsSimplePreviewChangesListChild As IVsSimplePreviewChangesList, _
    <OutAttribute> ByRef piIndex As UInteger _
) As Integer
int LocateExpandedList(
    IVsSimplePreviewChangesList pIVsSimplePreviewChangesListChild,
    out uint piIndex
)
int LocateExpandedList(
    [InAttribute] IVsSimplePreviewChangesList^ pIVsSimplePreviewChangesListChild, 
    [OutAttribute] unsigned int% piIndex
)
abstract LocateExpandedList : 
        pIVsSimplePreviewChangesListChild:IVsSimplePreviewChangesList * 
        piIndex:uint32 byref -> int 
function LocateExpandedList(
    pIVsSimplePreviewChangesListChild : IVsSimplePreviewChangesList, 
    piIndex : uint
) : int

Parameters

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

Remarks

COM Signature

From vsshell80.idl:

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

.NET Framework Security

See Also

Reference

IVsSimplePreviewChangesList Interface

Microsoft.VisualStudio.Shell.Interop Namespace