ProvideDirectiveProcessorAttribute 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重要
此 API 不符合 CLS。
用于为 T4 提供注册表项的属性类。Vshost.exe 指令处理器
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)>]
[<System.CLSCompliant(false)>]
type ProvideDirectiveProcessorAttribute = class
inherit RegistrationAttribute
Public NotInheritable Class ProvideDirectiveProcessorAttribute
Inherits RegistrationAttribute
- 继承
- 属性
构造函数
| ProvideDirectiveProcessorAttribute(Type, String, String) |
构造函数 |
字段
| DirectiveProcessorsKeyName |
指令处理器的特定注册表项的名称 |
| TextTemplatingKeyName |
文本模板化的根注册表项的名称 |
属性
| Description |
指令处理器的人为说明 |
| Name |
指令处理器的名称 |
| Type |
实现指令处理器的类型 |
| TypeId |
获取此属性的当前实例。 (继承自 RegistrationAttribute) |
方法
| GetPackageRegKeyPath(Guid) |
获取与 VSPackage 的应用程序) 的注册表根相关的注册表路径 (。 (继承自 RegistrationAttribute) |
| Register(RegistrationAttribute+RegistrationContext) |
注册文本模板化指令处理器 |
| Unregister(RegistrationAttribute+RegistrationContext) |
注销文本模板化指令处理器 |