ITextTemplatingEngine.ProcessTemplate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Transforms the contents of a text template file to produce the generated text output.
public:
System::String ^ ProcessTemplate(System::String ^ content, Microsoft::VisualStudio::TextTemplating::ITextTemplatingEngineHost ^ host);
public string ProcessTemplate (string content, Microsoft.VisualStudio.TextTemplating.ITextTemplatingEngineHost host);
abstract member ProcessTemplate : string * Microsoft.VisualStudio.TextTemplating.ITextTemplatingEngineHost -> string
Public Function ProcessTemplate (content As String, host As ITextTemplatingEngineHost) As String
Parameters
- content
- String
The contents of the text template file to be transformed.
The ITextTemplatingEngineHost that will host this engine.
Returns
The generated text output of the text template file.