ProvideStaticToolboxItemAttribute 类

定义

此属性声明工具箱项,工具箱将从注册表中读取该工具箱项。 有关更多详细信息,请参阅上的注释 IVsToolboxItemProvider

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
继承
ProvideStaticToolboxItemAttribute
属性

构造函数

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

ProvideStaticToolboxItemAttribute使用指定的数据初始化的新实例。

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

ProvideStaticToolboxItemAttribute使用多定向元数据初始化的新实例。

属性

AssemblyName

获取程序集名称。

BitmapIndex

获取位图索引。

BitmapResourceId

获取位图资源 ID。

Formats

获取格式。

GroupId

获取组 ID。

HelpKeyword

获取 help 关键字。

Id

获取 ID。

Index

获取索引。

Name

获取名称。

SupportedFrameworks

获取支持的框架。

TargetedItemProvider

获取目标项提供程序。

TipComponentType

获取 tip 组件类型。

TipDescription

获取提示说明。

TipPublisher

获取 tip 发布者。

TipTitle

获取 tip 标题。

TipVersion

获取 tip 版本。

TransparentColor

获取颜色。

TypeId

获取此属性的当前实例。

(继承自 RegistrationAttribute)
TypeName

获取类型名称。

UseProjectTargetFrameworkVersionInTooltip

确定是否在工具提示中使用目标框架版本。

方法

GetPackageRegKeyPath(Guid)

获取与 VSPackage 的应用程序) 的注册表根相关的注册表路径 (。

(继承自 RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

调用以便向给定的上下文注册此属性。

Unregister(RegistrationAttribute+RegistrationContext)

删除注册数据。

适用于