BaseCodeGenerator.GenerateCode(String, String) 方法

定义

执行给定输入文件生成代码的实际工作的方法。

protected:
 abstract cli::array <System::Byte> ^ GenerateCode(System::String ^ inputFileName, System::String ^ inputFileContent);
protected:
 abstract Platform::Array <byte> ^ GenerateCode(Platform::String ^ inputFileName, Platform::String ^ inputFileContent);
 abstract std::Array <byte> GenerateCode(std::wstring const & inputFileName, std::wstring const & inputFileContent);
protected abstract byte[] GenerateCode (string inputFileName, string inputFileContent);
abstract member GenerateCode : string * string -> byte[]
Protected MustOverride Function GenerateCode (inputFileName As String, inputFileContent As String) As Byte()

参数

inputFileName
String

输入文件名

inputFileContent
String

字符串形式的文件内容

返回

Byte[]

作为字节数组的生成的代码文件

适用于