Domain-Specific Language Tools Reference
TextTransformation..::.TransformText Method

Updated: November 2007

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

Visual Basic (Declaration)
Public MustOverride Function TransformText As String
Visual Basic (Usage)
Dim instance As TextTransformation
Dim returnValue As String

returnValue = instance.TransformText()
C#
public abstract string TransformText()
Visual C++
public:
virtual String^ TransformText() abstract
JScript
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.

Permissions

See Also

Reference

Other Resources

Tags :


Page view tracker