Share via


TextTransformation.WriteLine Method

Include Protected Members
Include Inherited Members

Writes text and the default line terminator to the GenerationEnvironment. When the text template transformation process is completed, GenerationEnvironment becomes the final generated text output.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method WriteLine(String) Appends a copy of the specified string and the default line terminator to the generated text output.
Public method WriteLine(String, array<Object[]) Appends a formatted string, which contains zero or more format specifications, and the default line terminator, to the generated text output. Each format specification is replaced by the string representation of a corresponding object argument.

Top

See Also

Reference

TextTransformation Class

Microsoft.VisualStudio.TextTemplating Namespace

GenerationEnvironment

Other Resources

How to: Append to the Generated Text