TemplatedCodeGenerator.GenerateCode Method
This member overrides BaseTemplatedCodeGenerator.GenerateCode(String, String).
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
- inputFileName
Type: System.String
- inputFileContent
Type: System.String
Return Value
Type: array<System.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.