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 Methods

The TextTransformation type exposes the following members.

  Name Description
Public method ClearIndent Resets the CurrentIndent to an empty string.
Public method Dispose() Releases all resources used by the TextTransformation.
Protected method Dispose(Boolean) Releases the unmanaged resources used by the TextTransformation and optionally releases the managed resources.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method Error Creates a new error to store information about errors that occur during the text template transformation process.
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before it is reclaimed by the garbage collector. Called by the garbage collector. (Overrides Object.Finalize().)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Initialize Infrastructure. Initializes the TextTransformation class.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method PopIndent Removes the most recently added text from CurrentIndent.
Public method PushIndent Adds text to CurrentIndent, which is prefixed to each line of the generated text output.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TransformText When overridden in a derived class, generates the text output of the transformation.
Public method Warning Creates a new warning to store information about errors that occur during the text template transformation process.
Public method Write(String) Appends a copy of the specified string to the generated text output.
Public method Write(String, Object[]) Appends a formatted string, which contains zero or more format specifications, to the generated text output. Each format specification is replaced by the string representation of a corresponding object argument.
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, 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
Show:
© 2015 Microsoft