Compartir a través de


IVsObjectManager2.CreateSimpleBrowseComponentSet Method

Creates an empty component set which can be manually populated with components that can be browsed.

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

Syntax

'Declaración
Function CreateSimpleBrowseComponentSet ( _
    Type As UInteger, _
    rgguidLibs As Guid(), _
    ulcLibs As UInteger, _
    <OutAttribute> ByRef ppSet As IVsSimpleBrowseComponentSet _
) As Integer
'Uso
Dim instance As IVsObjectManager2
Dim Type As UInteger
Dim rgguidLibs As Guid()
Dim ulcLibs As UInteger
Dim ppSet As IVsSimpleBrowseComponentSet
Dim returnValue As Integer

returnValue = instance.CreateSimpleBrowseComponentSet(Type, _
    rgguidLibs, ulcLibs, ppSet)
int CreateSimpleBrowseComponentSet(
    uint Type,
    Guid[] rgguidLibs,
    uint ulcLibs,
    out IVsSimpleBrowseComponentSet ppSet
)
int CreateSimpleBrowseComponentSet(
    [InAttribute] unsigned int Type, 
    [InAttribute] array<Guid>^ rgguidLibs, 
    [InAttribute] unsigned int ulcLibs, 
    [OutAttribute] IVsSimpleBrowseComponentSet^% ppSet
)
abstract CreateSimpleBrowseComponentSet : 
        Type:uint32 * 
        rgguidLibs:Guid[] * 
        ulcLibs:uint32 * 
        ppSet:IVsSimpleBrowseComponentSet byref -> int 
function CreateSimpleBrowseComponentSet(
    Type : uint, 
    rgguidLibs : Guid[], 
    ulcLibs : uint, 
    ppSet : IVsSimpleBrowseComponentSet
) : int

Parameters

  • rgguidLibs
    Type: array<System.Guid[]
    An array of Guid guids that identify the symbol libraries
    If Type is set to BCST_INCLUDE_LIBRARIES, the component set uses the libraries specified in the guid array to browse the components added to the set. The rgguidLibs cannot be a null in this case.
    If Type is set to BCST_EXCLUDE_LIBRARIES, the component set excludes the libraries specified in the guid array from browsing the components added to the set. If the rgguidLibs is nulla null reference (Nothing in Visual Basic), the set does not exclude any libraries.
  • ulcLibs
    Type: System.UInt32
    Number of elements in the guid array.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

Tracks symbols in generic Visual Studio projects which do not inherit from the VSProject type. The symbols contained in the simple set are used for browsing in the Class View tool.

COM Signature

From vsshell80.idl:

HRESULT CreateSimpleBrowseComponentSet(
[in] BROWSE_COMPONENT_SET_TYPE Type,
[in, size_is(ulcLibs)] const GUID rgguidLibs[],
[in] ULONG ulcLibs, 
[out, retval] IVsSimpleBrowseComponentSet ** ppSet
);

.NET Framework Security

See Also

Reference

IVsObjectManager2 Interface

IVsObjectManager2 Members

Microsoft.VisualStudio.Shell.Interop Namespace

Other Resources

Class View