Compartilhar via


IVsCombinedBrowseComponentSet.AddSet(IVsSimpleBrowseComponentSet) Method

Definition

Adds a new component set.

public:
 int AddSet(Microsoft::VisualStudio::Shell::Interop::IVsSimpleBrowseComponentSet ^ pSet);
public:
 int AddSet(Microsoft::VisualStudio::Shell::Interop::IVsSimpleBrowseComponentSet ^ pSet);
int AddSet(Microsoft::VisualStudio::Shell::Interop::IVsSimpleBrowseComponentSet const & pSet);
public int AddSet (Microsoft.VisualStudio.Shell.Interop.IVsSimpleBrowseComponentSet pSet);
abstract member AddSet : Microsoft.VisualStudio.Shell.Interop.IVsSimpleBrowseComponentSet -> int
Public Function AddSet (pSet As IVsSimpleBrowseComponentSet) As Integer

Parameters

pSet
IVsSimpleBrowseComponentSet

The IVsSimpleBrowseComponentSet that represents the added set.

Returns

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT AddSet(  
[in] IVsSimpleBrowseComponentSet * pSet  
);  

Applies to