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
- pSet
Type: Microsoft.VisualStudio.Shell.Interop.IVsSimpleBrowseComponentSet
The IVsSimpleBrowseComponentSet that represents the added set.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsCombinedBrowseComponentSet Interface