次の方法で共有


IVsLibrary.GetList Method

Returns the requested list of symbols as an IVsObjectList interface.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'宣言
Function GetList ( _
    ListType As UInteger, _
    flags As UInteger, _
    pobSrch As VSOBSEARCHCRITERIA(), _
    <OutAttribute> ByRef pplist As IVsObjectList _
) As Integer
'使用
Dim instance As IVsLibrary
Dim ListType As UInteger
Dim flags As UInteger
Dim pobSrch As VSOBSEARCHCRITERIA()
Dim pplist As IVsObjectList
Dim returnValue As Integer

returnValue = instance.GetList(ListType, _
    flags, pobSrch, pplist)
int GetList(
    uint ListType,
    uint flags,
    VSOBSEARCHCRITERIA[] pobSrch,
    out IVsObjectList pplist
)
int GetList(
    [InAttribute] unsigned int ListType, 
    [InAttribute] unsigned int flags, 
    [InAttribute] array<VSOBSEARCHCRITERIA>^ pobSrch, 
    [OutAttribute] IVsObjectList^% pplist
)
function GetList(
    ListType : uint, 
    flags : uint, 
    pobSrch : VSOBSEARCHCRITERIA[], 
    pplist : IVsObjectList
) : int

Parameters

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 IVsLibrary::GetList(
   [in] LIB_LISTTYPE ListType,
   [in] LIB_LISTFLAGS Flags,
   [in] VSOBSEARCHCRITERIA *pobSrch,
   [out, retval] IVsObjectList **ppList
);

This method returns an IVsObjectList interface. The type of object list to return is specified in ListType with enumerators from _LIB_LISTTYPE. Attributes of the object list are specified in flags with enumerators from _LIB_LISTFLAGS. Members of the VSOBSEARCHCRITERIA structure, ppList, specify the criteria for finding the object list.

Permissions

See Also

Reference

IVsLibrary Interface

IVsLibrary Members

Microsoft.VisualStudio.Shell.Interop Namespace