Share via


ProvideStaticToolboxItemAttribute Class

Definition

This attribute declares a toolbox item which the toolbox will read from the registry. See the comments on IVsToolboxItemProvider for more details.

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

Constructors

ProvideStaticToolboxItemAttribute(String, String, String, String, String, String, Int32, String, String, String, String)

Initializes a new instance of ProvideStaticToolboxItemAttribute with multitargeting metadata.

ProvideStaticToolboxItemAttribute(String, String, String, String, String, String, Int32)

Initializes a new instance of ProvideStaticToolboxItemAttribute with the specified data.

Properties

AssemblyName

Gets the assembly name.

BitmapIndex

Gets the bitmap index.

BitmapResourceId

Gets the bitmap resource ID.

Formats

Gets the formats.

GroupId

Gets the group ID.

HelpKeyword

Gets the help keyword.

Id

Gets the ID.

Index

Gets the index.

Name

Gets the name.

SupportedFrameworks

Gets the supported frameworks.

TargetedItemProvider

Gets the targeted item provider.

TipComponentType

Gets the tip component type.

TipDescription

Gets the tip description.

TipPublisher

Gets the tip publisher.

TipTitle

Gets the tip title.

TipVersion

Gets the tip version.

TransparentColor

Gets the color.

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)
TypeName

Gets the type name.

UseProjectTargetFrameworkVersionInTooltip

Determines whether to use the target framework version in the tooltip.

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