ProvideDesignerOptionsAttribute 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将一个或多个类别与注册表中的每个设计器相关联。
public ref class ProvideDesignerOptionsAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
public ref class ProvideDesignerOptionsAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)]
public sealed class ProvideDesignerOptionsAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)>]
type ProvideDesignerOptionsAttribute = class
inherit RegistrationAttribute
Public NotInheritable Class ProvideDesignerOptionsAttribute
Inherits RegistrationAttribute
- 继承
- 属性
构造函数
ProvideDesignerOptionsAttribute(String) |
使用指定的类别名称初始化 的新实例 ProvideDesignerOptionsAttribute 。 |
属性
CategoryName |
获取此类别的编程非本地化名称。 |
TypeId |
重写 TypeID 属性,以便让 RegistrationAttribute 派生类与 System.ComponentModel.TypeDescriptor.GetAttributes 一起使用 (...) 。仅当派生自此属性的属性需要对可应用于类的实例使用更好的控件时,它才必须重写此属性。 (继承自 RegistrationAttribute) |
方法
GetPackageRegKeyPath(Guid) |
获取相对于 VSPackage 的应用程序) 注册表根目录 (注册表路径。 (继承自 RegistrationAttribute) |
Register(RegistrationAttribute+RegistrationContext) |
注册设计器选项。 |
Unregister(RegistrationAttribute+RegistrationContext) |
使用指定的注册表上下文从注册表中删除此属性。 |