Share via


Engine.ProcessTemplate(String, ITextTemplatingEngineHost) Method

Definition

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

host
ITextTemplatingEngineHost

The ITextTemplatingEngineHost that will host this engine

Returns

The output from the processed template

Implements

Applies to