IVsObjectManager2::CreateSimpleBrowseComponentSet Method (UInt32, array<Guid>^, UInt32, IVsSimpleBrowseComponentSet^)
Creates an empty component set which can be manually populated with components that can be browsed.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
int CreateSimpleBrowseComponentSet( unsigned int Type, array<Guid>^ rgguidLibs, unsigned int ulcLibs, [OutAttribute] IVsSimpleBrowseComponentSet^% ppSet )
Parameters
- Type
-
Type:
System::UInt32
One of the _BROWSE_COMPONENT_SET_TYPE values.
- 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 null, the set does not exclude any libraries.
- ulcLibs
-
Type:
System::UInt32
Number of elements in the guid array.
- ppSet
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsSimpleBrowseComponentSet^
An empty set that can be populated with components that can be browsed.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
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.
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 );