命名空间:  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[]
参数
- inputFileName
 类型:System.String
- inputFileContent
 类型:System.String
返回值
类型:array<System.Byte[]
返回 Byte。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。