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
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.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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.