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 (in Microsoft.VisualStudio.TextTemplating.dll)

Syntax

'宣言
Function ProcessTemplate ( _
    content As String, _
    host As ITextTemplatingEngineHost _
) As String
'使用
Dim instance As ITextTemplatingEngine
Dim content As String
Dim host As ITextTemplatingEngineHost
Dim returnValue As String

returnValue = instance.ProcessTemplate(content, _
    host)
string ProcessTemplate(
    string content,
    ITextTemplatingEngineHost host
)
String^ ProcessTemplate(
    String^ content, 
    ITextTemplatingEngineHost^ host
)
function ProcessTemplate(
    content : String, 
    host : ITextTemplatingEngineHost
) : String

Parameters

  • content
    Type: System.String

    The contents of the text template file to be transformed.

Return Value

Type: System.String

The generated text output of the text template file.

Remarks

This interface is not intended to be implemented by users.

Permissions

See Also

Reference

ITextTemplatingEngine Interface

ITextTemplatingEngine Members

Microsoft.VisualStudio.TextTemplating Namespace

ProcessTemplate