ProvideDirectiveProcessorAttribute 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重要
此 API 不符合 CLS。
用于提供 T4 的注册表项的属性类。VSHost 指令处理器
public ref class ProvideDirectiveProcessorAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
public ref class ProvideDirectiveProcessorAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)]
[System.CLSCompliant(false)]
public sealed class ProvideDirectiveProcessorAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)]
public sealed class ProvideDirectiveProcessorAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)>]
[<System.CLSCompliant(false)>]
type ProvideDirectiveProcessorAttribute = class
inherit RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)>]
type ProvideDirectiveProcessorAttribute = class
inherit RegistrationAttribute
Public NotInheritable Class ProvideDirectiveProcessorAttribute
Inherits RegistrationAttribute
- 继承
- 属性
构造函数
ProvideDirectiveProcessorAttribute(Type, String, String) |
构造函数 |
字段
DirectiveProcessorsKeyName |
指令处理器的特定注册表项的名称 |
TextTemplatingKeyName |
文本模板化根注册表项的名称 |
属性
Description |
指令处理器的人工描述 |
Name |
指令处理器的名称 |
Type |
实现指令处理器的类型 |
TypeId |
重写 TypeID 属性,以便让 RegistrationAttribute 派生类与 System.ComponentModel.TypeDescriptor.GetAttributes 一起使用 (...) 。仅当派生自此属性的属性需要对可应用于类的实例使用更好的控件时,它才必须重写此属性。 (继承自 RegistrationAttribute) |
方法
GetPackageRegKeyPath(Guid) |
获取相对于 VSPackage 的应用程序) 注册表根目录 (注册表路径。 (继承自 RegistrationAttribute) |
Register(RegistrationAttribute+RegistrationContext) |
注册文本模板化指令处理器 |
Unregister(RegistrationAttribute+RegistrationContext) |
取消注册文本模板化指令处理器 |