从输入模板和模板参数生成最终代码
命名空间:  Microsoft.VisualStudio.TextTemplating.VSHost
程序集:  Microsoft.VisualStudio.TextTemplating.VSHost.11.0(在 Microsoft.VisualStudio.TextTemplating.VSHost.11.0.dll 中)
语法
声明
Protected Overrides Function GenerateCode ( _
    inputFileName As String, _
    inputFileContent As String _
) As Byte()
protected override byte[] GenerateCode(
    string inputFileName,
    string inputFileContent
)
protected:
virtual array<unsigned char>^ GenerateCode(
    String^ inputFileName, 
    String^ inputFileContent
) override
abstract GenerateCode : 
        inputFileName:string * 
        inputFileContent:string -> byte[] 
override GenerateCode : 
        inputFileName:string * 
        inputFileContent:string -> byte[] 
protected override function GenerateCode(
    inputFileName : String, 
    inputFileContent : String
) : byte[]
参数
- inputFileName
类型:System.String 
- inputFileContent
类型:System.String 
返回值
类型:array<System.Byte[]
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。