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.StringThe contents of the text template file to be transformed.
host
Type: Microsoft.VisualStudio.TextTemplating.ITextTemplatingEngineHostThe ITextTemplatingEngineHost that will host this engine.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ITextTemplatingEngine Interface