ProvideStaticToolboxItemAttribute 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
此属性声明工具箱项,工具箱将从注册表中读取。 有关更多详细信息,请参阅 上的 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
- 继承
- 属性
构造函数
属性
| AssemblyName |
获取程序集名称。 |
| BitmapIndex |
获取位图索引。 |
| BitmapResourceId |
获取位图资源 ID。 |
| Formats |
获取格式。 |
| GroupId |
获取组 ID。 |
| HelpKeyword |
获取帮助关键字 (keyword) 。 |
| Id |
获取 ID。 |
| Index |
获取索引。 |
| Name |
获取名称。 |
| SupportedFrameworks |
获取支持的框架。 |
| TargetedItemProvider |
获取目标项提供程序。 |
| TipComponentType |
获取提示组件类型。 |
| TipDescription |
获取提示说明。 |
| TipPublisher |
获取小费发布者。 |
| TipTitle |
获取提示标题。 |
| TipVersion |
获取提示版本。 |
| TransparentColor |
获取颜色。 |
| TypeId |
重写 TypeID 属性,使 RegistrationAttribute 派生类能够与 System.ComponentModel.TypeDescriptor.GetAttributes 一起使用 (...) 。仅当派生自此属性的属性需要对可应用于类的实例使用更好的控件时,它才必须重写此属性。 (继承自 RegistrationAttribute) |
| TypeName |
获取类型名称。 |
| UseProjectTargetFrameworkVersionInTooltip |
确定是否在工具提示中使用目标框架版本。 |
方法
| GetPackageRegKeyPath(Guid) |
获取相对于 VSPackage 的应用程序) 注册表根目录 (注册表路径。 (继承自 RegistrationAttribute) |
| Register(RegistrationAttribute+RegistrationContext) |
调用以便向给定的上下文注册此属性。 |
| Unregister(RegistrationAttribute+RegistrationContext) |
删除注册数据。 |