共用方式為


IVsCombinedBrowseComponentSet.AddSet Method

Adds a new component set.

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

Syntax

'宣告
Function AddSet ( _
    pSet As IVsSimpleBrowseComponentSet _
) As Integer
'用途
Dim instance As IVsCombinedBrowseComponentSet
Dim pSet As IVsSimpleBrowseComponentSet
Dim returnValue As Integer

returnValue = instance.AddSet(pSet)
int AddSet(
    IVsSimpleBrowseComponentSet pSet
)
int AddSet(
    [InAttribute] IVsSimpleBrowseComponentSet^ pSet
)
abstract AddSet : 
        pSet:IVsSimpleBrowseComponentSet -> int 
function AddSet(
    pSet : IVsSimpleBrowseComponentSet
) : int

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

IVsCombinedBrowseComponentSet Interface

IVsCombinedBrowseComponentSet Members

Microsoft.VisualStudio.Shell.Interop Namespace