Share via


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

Syntax

'Declaration
Function ProcessTemplate ( _
    content As String, _
    host As ITextTemplatingEngineHost _
) As String
string ProcessTemplate(
    string content,
    ITextTemplatingEngineHost host
)
String^ ProcessTemplate(
    String^ content, 
    ITextTemplatingEngineHost^ host
)
abstract ProcessTemplate : 
        content:string * 
        host:ITextTemplatingEngineHost -> string
function ProcessTemplate(
    content : String, 
    host : ITextTemplatingEngineHost
) : String

Parameters

  • content
    Type: String

    The contents of the text template file to be transformed.

Return Value

Type: String
The generated text output of the text template file.

Remarks

This interface is not intended to be implemented by users.

.NET Framework Security

See Also

Reference

ITextTemplatingEngine Interface

Microsoft.VisualStudio.TextTemplating Namespace