Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2008
Visual Studio
Visual Studio SDK
 TransformText Method

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
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)

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.

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.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker