共用方式為


IVsObjectManager2.CreateCombinedBrowseComponentSet Method

Definition

Creates an empty component set which cam be manually populated with the components from simple sets and removes duplicate components. The component set can be used by a library to present project references in the Object Browser.

public:
 int CreateCombinedBrowseComponentSet([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsCombinedBrowseComponentSet ^ % ppCombinedSet);
public:
 int CreateCombinedBrowseComponentSet([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsCombinedBrowseComponentSet ^ &  ppCombinedSet);
int CreateCombinedBrowseComponentSet([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsCombinedBrowseComponentSet const & & ppCombinedSet);
public int CreateCombinedBrowseComponentSet (out Microsoft.VisualStudio.Shell.Interop.IVsCombinedBrowseComponentSet ppCombinedSet);
abstract member CreateCombinedBrowseComponentSet : IVsCombinedBrowseComponentSet -> int
Public Function CreateCombinedBrowseComponentSet (ByRef ppCombinedSet As IVsCombinedBrowseComponentSet) As Integer

Parameters

ppCombinedSet
IVsCombinedBrowseComponentSet

The IVsCombinedBrowseComponentSet represents an empty component set, which can be populated with the symbols used in the Visual Studio symbol browsing tool such as Class View and Object Browser.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

HRESULT CreateCombinedBrowseComponentSet(  
[out, retval] IVsCombinedBrowseComponentSet ** ppCombinedSet  
);  

Applies to