Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2008
Visual Studio
Visual Studio SDK
 GenerationEnvironment Property

  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..::.GenerationEnvironment Property

Updated: November 2007

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 (in Microsoft.VisualStudio.TextTemplating.dll)

Visual Basic (Declaration)
Protected Property GenerationEnvironment As StringBuilder
Visual Basic (Usage)
Dim value As StringBuilder

value = Me.GenerationEnvironment

Me.GenerationEnvironment = value
C#
protected StringBuilder GenerationEnvironment { get; set; }
Visual C++
protected:
property StringBuilder^ GenerationEnvironment {
    StringBuilder^ get ();
    void set (StringBuilder^ value);
}
JScript
protected function get GenerationEnvironment () : StringBuilder
protected function set GenerationEnvironment (value : StringBuilder)

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.

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