共用方式為


BaseCodeGenerator.GenerateCode 方法

命名空間:  Microsoft.VisualStudio.TextTemplating.VSHost
組件:  Microsoft.VisualStudio.TextTemplating.VSHost.10.0 (在 Microsoft.VisualStudio.TextTemplating.VSHost.10.0.dll 中)

語法

'宣告
Protected MustOverride Function GenerateCode ( _
    inputFileName As String, _
    inputFileContent As String _
) As Byte()
protected abstract byte[] GenerateCode(
    string inputFileName,
    string inputFileContent
)
protected:
virtual array<unsigned char>^ GenerateCode(
    String^ inputFileName, 
    String^ inputFileContent
) abstract
abstract GenerateCode : 
        inputFileName:string * 
        inputFileContent:string -> byte[] 
protected abstract function GenerateCode(
    inputFileName : String, 
    inputFileContent : String
) : byte[]

參數

傳回值

型別:array<System.Byte[]
傳回 Byte

.NET Framework 安全性

請參閱

參考

BaseCodeGenerator 類別

Microsoft.VisualStudio.TextTemplating.VSHost 命名空間