SupportedDirectiveAttribute 建構函式
宣告裝飾 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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。