Engine.ProcessTemplate(String, ITextTemplatingEngineHost) 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.
Processes a template
public:
virtual System::String ^ ProcessTemplate(System::String ^ content, Microsoft::VisualStudio::TextTemplating::ITextTemplatingEngineHost ^ host);
public:
Platform::String ^ ProcessTemplate(Platform::String ^ content, Microsoft::VisualStudio::TextTemplating::ITextTemplatingEngineHost ^ host);
std::wstring ProcessTemplate(std::wstring const & content, Microsoft::VisualStudio::TextTemplating::ITextTemplatingEngineHost const & host);
public string ProcessTemplate (string content, Microsoft.VisualStudio.TextTemplating.ITextTemplatingEngineHost host);
abstract member ProcessTemplate : string * Microsoft.VisualStudio.TextTemplating.ITextTemplatingEngineHost -> string
override this.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 template file to be processed
The ITextTemplatingEngineHost that will host this engine
Returns
The output from the processed template