共用方式為


DslDirectiveProcessorBase.GeneratePreInitializationCode 方法

以累加方式參與 TextTransformation 產生類別的初始化程式碼。

命名空間:  Microsoft.VisualStudio.Modeling.DslDefinition
組件:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll 中)

語法

'宣告
Protected Overrides Sub GeneratePreInitializationCode ( _
    directiveName As String, _
    codeBuffer As StringBuilder, _
    languageProvider As CodeDomProvider, _
    requiresArguments As IDictionary(Of String, String), _
    providesArguments As IDictionary(Of String, String) _
)
protected override void GeneratePreInitializationCode(
    string directiveName,
    StringBuilder codeBuffer,
    CodeDomProvider languageProvider,
    IDictionary<string, string> requiresArguments,
    IDictionary<string, string> providesArguments
)

參數

備註

這個程式碼會在呼叫之前將加入至基底類別。

.NET Framework 安全性

請參閱

參考

DslDirectiveProcessorBase 類別

Microsoft.VisualStudio.Modeling.DslDefinition 命名空間