Share via


TextTransformation.TransformText Method

When overridden in a derived class, generates the text output of the transformation.

Namespace:  Microsoft.VisualStudio.TextTemplating
Assembly:  Microsoft.VisualStudio.TextTemplating (in Microsoft.VisualStudio.TextTemplating.dll)

Syntax

'Declaration
Public MustOverride Function TransformText As String
'Usage
Dim instance As TextTransformation 
Dim returnValue As String 

returnValue = instance.TransformText()
public abstract string TransformText()
public:
virtual String^ TransformText() abstract
public abstract function TransformText() : String

Return Value

Type: System.String
A string representing the generated text output of the text template transformation process.

Remarks

The text template transformation process has two steps. In the first step, the text template transformation engine creates a class that is named the generated transformation class. In the second step, the engine compiles and executes the generated transformation class, to produce the generated text output. The engine calls TransformText on the compiled generated transformation class to execute the text template and generate the text output.

.NET Framework Security

See Also

Reference

TextTransformation Class

TextTransformation Members

Microsoft.VisualStudio.TextTemplating Namespace

Other Resources

Generating Artifacts By Using Text Templates