Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

TextTransformation.GenerationEnvironment Property

Gets or sets the string that the text template transformation process is using to assemble the generated text output.

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

protected StringBuilder GenerationEnvironment { get; set; }

Property Value

Type: System.Text.StringBuilder
A StringBuilder that contains the generated text transformation.

The GenerationEnvironment property stores the generated text output as it is being assembled. The methods Write and WriteLine append text to this property. Any text included in a text block in the text template is also appended to this property. When the text template transformation process is complete, this property is returned as the generated text output. The user should not access this property directly.

© 2015 Microsoft