TextTransformation.TransformText Method
When overridden in a derived class, generates the text output of the transformation.
Namespace: Microsoft.VisualStudio.TextTemplating
Assembly: Microsoft.VisualStudio.TextTemplating.11.0 (in Microsoft.VisualStudio.TextTemplating.11.0.dll)
Syntax
'Declaration
Public MustOverride Function TransformText As String
public abstract string TransformText()
public:
virtual String^ TransformText() abstract
abstract TransformText : unit -> string
public abstract function TransformText() : String
Return Value
Type: 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
- 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
Microsoft.VisualStudio.TextTemplating Namespace