Share via


BaseTemplatedCodeGenerator.GenerateCode Method

Generate the final code from the input template and its parameters

Namespace:  Microsoft.VisualStudio.TextTemplating.VSHost
Assembly:  Microsoft.VisualStudio.TextTemplating.VSHost.12.0 (in Microsoft.VisualStudio.TextTemplating.VSHost.12.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

Return Value

Type: array<System.Byte[]

.NET Framework Security

See Also

Reference

BaseTemplatedCodeGenerator Class

Microsoft.VisualStudio.TextTemplating.VSHost Namespace