共用方式為


BaseCodeGenerator.GenerateCode(String, String) Method

Definition

the method that does the actual work of generating code given the input file.

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()

Parameters

inputFileName
String

input file name

inputFileContent
String

file contents as a string

Returns

Byte[]

the generated code file as a byte-array

Applies to