다음을 통해 공유


ITextTemplatingEngine.ProcessTemplate Method

Definition

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.

host
ITextTemplatingEngineHost

The ITextTemplatingEngineHost that will host this engine.

Returns

The generated text output of the text template file.

Applies to