Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

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)

int CreateSimpleBrowseComponentSet(
	uint Type,
	Guid[] rgguidLibs,
	uint ulcLibs,
	out IVsSimpleBrowseComponentSet ppSet


Type: System.UInt32


Type: 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.

Type: System.UInt32

Number of elements in the guid array.

Type: Microsoft.VisualStudio.Shell.Interop.IVsSimpleBrowseComponentSet%

An empty set that can be populated with components that can be browsed.

Return Value

Type: System.Int32
If 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.

COM Signature

From vsshell80.idl:

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

Community Additions

© 2015 Microsoft