ITextTemplatingEngine.ProcessTemplate Method
Transforms the contents of a text template file to produce the generated text output.
Namespace: Microsoft.VisualStudio.TextTemplating
Assembly: Microsoft.VisualStudio.TextTemplating.Interfaces.10.0 (in Microsoft.VisualStudio.TextTemplating.Interfaces.10.0.dll)
Syntax
'Declaration
Function ProcessTemplate ( _
content As String, _
host As ITextTemplatingEngineHost _
) As String
string ProcessTemplate(
string content,
ITextTemplatingEngineHost host
)
String^ ProcessTemplate(
String^ content,
ITextTemplatingEngineHost^ host
)
abstract ProcessTemplate :
content:string *
host:ITextTemplatingEngineHost -> string
function ProcessTemplate(
content : String,
host : ITextTemplatingEngineHost
) : String
Parameters
content
Type: StringThe contents of the text template file to be transformed.
host
Type: Microsoft.VisualStudio.TextTemplating.ITextTemplatingEngineHostThe ITextTemplatingEngineHost that will host this engine.
Return Value
Type: String
The generated text output of the text template file.
Remarks
This interface is not intended to be implemented by users.
.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.