Share via


ProvideStaticToolboxGroupAttribute Class

Definition

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

public ref class ProvideStaticToolboxGroupAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
public ref class ProvideStaticToolboxGroupAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
public sealed class ProvideStaticToolboxGroupAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)>]
type ProvideStaticToolboxGroupAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class ProvideStaticToolboxGroupAttribute
Inherits RegistrationAttribute
Inheritance
ProvideStaticToolboxGroupAttribute
Attributes

Remarks

The group may optionally contain items created with the ProvideStaticToolboxItemAttribute.

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

Constructors

ProvideStaticToolboxGroupAttribute(String, String)

Initializes a new instance of ProvideStaticToolboxGroupAttribute.

Properties

Id

Gets the group ID.

Index

Gets the index of the toolbox group.

Name

Gets the name of the toolbox group.

TypeId

Override the TypeID property in order to let the RegistrationAttribute derived classes to work with System.ComponentModel.TypeDescriptor.GetAttributes(...). An attribute derived from this one will have to override this property only if it needs a better control on the instances that can be applied to a class.

(Inherited from RegistrationAttribute)

Methods

GetPackageRegKeyPath(Guid)

Gets the registry path (relative to the registry root of the application) of the VSPackage.

(Inherited from RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

Called to register this attribute with the given context.

Unregister(RegistrationAttribute+RegistrationContext)

Removes the registration data.

Applies to