IVsBrowseComponentSet.GetList2 Method
Returns the requested list of symbols.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaración
Function GetList2 ( _
ListType As UInteger, _
flags As UInteger, _
pobSrch As VSOBSEARCHCRITERIA2(), _
pExtraListToCombineWith As IVsObjectList2, _
<OutAttribute> ByRef ppIVsObjectList2 As IVsObjectList2 _
) As Integer
'Uso
Dim instance As IVsBrowseComponentSet
Dim ListType As UInteger
Dim flags As UInteger
Dim pobSrch As VSOBSEARCHCRITERIA2()
Dim pExtraListToCombineWith As IVsObjectList2
Dim ppIVsObjectList2 As IVsObjectList2
Dim returnValue As Integer
returnValue = instance.GetList2(ListType, _
flags, pobSrch, pExtraListToCombineWith, _
ppIVsObjectList2)
int GetList2(
uint ListType,
uint flags,
VSOBSEARCHCRITERIA2[] pobSrch,
IVsObjectList2 pExtraListToCombineWith,
out IVsObjectList2 ppIVsObjectList2
)
int GetList2(
[InAttribute] unsigned int ListType,
[InAttribute] unsigned int flags,
[InAttribute] array<VSOBSEARCHCRITERIA2>^ pobSrch,
[InAttribute] IVsObjectList2^ pExtraListToCombineWith,
[OutAttribute] IVsObjectList2^% ppIVsObjectList2
)
abstract GetList2 :
ListType:uint32 *
flags:uint32 *
pobSrch:VSOBSEARCHCRITERIA2[] *
pExtraListToCombineWith:IVsObjectList2 *
ppIVsObjectList2:IVsObjectList2 byref -> int
function GetList2(
ListType : uint,
flags : uint,
pobSrch : VSOBSEARCHCRITERIA2[],
pExtraListToCombineWith : IVsObjectList2,
ppIVsObjectList2 : IVsObjectList2
) : int
Parameters
- ListType
Type: System.UInt32
[in] One of the _LIB_LISTTYPE2 values.
- flags
Type: System.UInt32
[in] One of the _LIB_LISTFLAGS values.
- pobSrch
Type: array<Microsoft.VisualStudio.Shell.Interop.VSOBSEARCHCRITERIA2[]
[in] A VSOBSEARCHCRITERIA2 that describes the search criteria.
- pExtraListToCombineWith
Type: Microsoft.VisualStudio.Shell.Interop.IVsObjectList2
A IVsSimpleObjectList2 list of symbols that is a part of the resulting ppIVsObjectList2 list.
- ppIVsObjectList2
Type: Microsoft.VisualStudio.Shell.Interop.IVsObjectList2%
[out]Returns a IVsSimpleObjectList2 list of requested items.
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 GetList2(
[in] LIB_LISTTYPE2 ListType,
[in] LIB_LISTFLAGS Flags,
[in] VSOBSEARCHCRITERIA2 *pobSrch,
[in] IVsObjectList2 * pExtraListToCombineWith,
[out, retval] IVsObjectList2 **ppIVsObjectList2
);
.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.