ProvideDirectiveProcessorAttribute 构造函数

将此特性应用与一个包的包类,该包定义了文本模板指令处理器。

命名空间:  Microsoft.VisualStudio.TextTemplating.VSHost
程序集:  Microsoft.VisualStudio.TextTemplating.VSHost.10.0(在 Microsoft.VisualStudio.TextTemplating.VSHost.10.0.dll 中)

语法

声明
Public Sub New ( _
    type As Type, _
    name As String, _
    description As String _
)
public ProvideDirectiveProcessorAttribute(
    Type type,
    string name,
    string description
)
public:
ProvideDirectiveProcessorAttribute(
    Type^ type, 
    String^ name, 
    String^ description
)
new : 
        type:Type * 
        name:string * 
        description:string -> ProvideDirectiveProcessorAttribute
public function ProvideDirectiveProcessorAttribute(
    type : Type, 
    name : String, 
    description : String
)

参数

  • type
    类型:System.Type
    定义指令处理器的类。
  • name
    类型:System.String
    用于文本模板中用于识别处理器的名称。
  • description
    类型:System.String
    描述这些应用程序使用的指令处理器。

.NET Framework 安全性

请参见

参考

ProvideDirectiveProcessorAttribute 类

Microsoft.VisualStudio.TextTemplating.VSHost 命名空间