Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides browse information for the Object Browser.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function GetListIndex ( _
pObjInfo As VSOBJECTINFO(), _
<OutAttribute> ByRef pplist As IVsObjectList, _
<OutAttribute> ByRef pIndex As UInteger _
) As Integer
int GetListIndex(
VSOBJECTINFO[] pObjInfo,
out IVsObjectList pplist,
out uint pIndex
)
int GetListIndex(
[InAttribute] array<VSOBJECTINFO>^ pObjInfo,
[OutAttribute] IVsObjectList^% pplist,
[OutAttribute] unsigned int% pIndex
)
abstract GetListIndex :
pObjInfo:VSOBJECTINFO[] *
pplist:IVsObjectList byref *
pIndex:uint32 byref -> int
function GetListIndex(
pObjInfo : VSOBJECTINFO[],
pplist : IVsObjectList,
pIndex : uint
) : int
Parameters
- pObjInfo
Type: array<Microsoft.VisualStudio.Shell.Interop.VSOBJECTINFO[]
[in] A pointer to an object of type VSOBJECTINFO.
- pplist
Type: Microsoft.VisualStudio.Shell.Interop.IVsObjectList%
[Out] A pointer to a pointer of type IVsObjectList.
- pIndex
Type: System.UInt32%
[Out] A pointer to an integer
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 vsshell.idl:
HRESULT IVsLibraryReferenceManager::GetListIndex(
[in] VSOBJECTINFO *pobjInfo,
[out] IVsObjectList** ppList,
[out] ULONG *pIndex
);
.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.