声明修饰T4指令处理器支持给定指令。
命名空间: Microsoft.VisualStudio.TextTemplating
程序集: Microsoft.VisualStudio.TextTemplating.Interfaces.11.0(在 Microsoft.VisualStudio.TextTemplating.Interfaces.11.0.dll 中)
语法
声明
Public Sub New ( _
supportedDirective As String _
)
public SupportedDirectiveAttribute(
string supportedDirective
)
public:
SupportedDirectiveAttribute(
String^ supportedDirective
)
new :
supportedDirective:string -> SupportedDirectiveAttribute
public function SupportedDirectiveAttribute(
supportedDirective : String
)
参数
- supportedDirective
类型:System.String
该处理器支持的指令。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。