TextTransformation.TransformText Method ()


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

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

public abstract string TransformText()

Return Value

Type: System.String

A string representing the generated text output of the text template transformation process.

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.

Return to top