共用方式為


ProvideStaticToolboxGroupAttribute Class

This attribute declares a toolbox group which will be created on toolbox initialization.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'宣告
<AttributeUsageAttribute(AttributeTargets.Class, Inherited := True, AllowMultiple := True)> _
Public NotInheritable Class ProvideStaticToolboxGroupAttribute _
    Inherits RegistrationAttribute
'用途
Dim instance As ProvideStaticToolboxGroupAttribute
[AttributeUsageAttribute(AttributeTargets.Class, Inherited = true, AllowMultiple = true)]
public sealed class ProvideStaticToolboxGroupAttribute : RegistrationAttribute
[AttributeUsageAttribute(AttributeTargets::Class, Inherited = true, AllowMultiple = true)]
public ref class ProvideStaticToolboxGroupAttribute sealed : public RegistrationAttribute
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Class, Inherited = true, AllowMultiple = true)>]
type ProvideStaticToolboxGroupAttribute =  
    class
        inherit RegistrationAttribute
    end
public final class ProvideStaticToolboxGroupAttribute extends RegistrationAttribute

Remarks

The group may optionally contain items created with the ProvideStaticToolboxItem attribute.

See comments on IVsToolboxItemProvider in vsshell100.idl for more details.

Inheritance Hierarchy

System.Object
  System.Attribute
    Microsoft.VisualStudio.Shell.RegistrationAttribute
      Microsoft.VisualStudio.Shell.ProvideStaticToolboxGroupAttribute

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ProvideStaticToolboxGroupAttribute Members

Microsoft.VisualStudio.Shell Namespace