BaseTemplatedCodeGenerator.GenerateCode Method
Generate the final code from the input template and its parameters
Namespace: Microsoft.VisualStudio.TextTemplating.VSHost
Assembly: Microsoft.VisualStudio.TextTemplating.VSHost.11.0 (in Microsoft.VisualStudio.TextTemplating.VSHost.11.0.dll)
Syntax
'Declaration
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[]
Parameters
- inputFileName
Type: String
- inputFileContent
Type: String
Return Value
Type: array<Byte[]
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.