NDoc 1.3.1 SDK |

# TemplateWriter Methods

The methods of the TemplateWriter class are listed below. For a complete list of TemplateWriter class members, see the TemplateWriter Members topic.

#### Public Instance Methods

Close | Closes the current StreamWriter and StreamReader.
CopyToEnd | Copies the text lines form the template to the output stream until the end of the template stream.
CopyToLine | Copies the text lines form the template to the output stream until a specific line is found.
CreateObjRef (inherited from MarshalByRefObject) | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object.
Flush (inherited from StreamWriter) | Clears all buffers for the current writer and causes any buffered data to be written to the underlying stream.
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject) | Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetType (inherited from Object) | Gets the Type of the current instance.
InitializeLifetimeService (inherited from MarshalByRefObject) | Obtains a lifetime service object to control the lifetime policy for this instance.
ToString (inherited from Object) | Returns a String that represents the current Object.
Write (inherited from TextWriter) | Overloaded. Writes out a formatted string, using the same semantics as Format.
Write (inherited from StreamWriter) | Overloaded. Writes a string to the stream.
WriteLine (inherited from TextWriter) | Overloaded. Writes out a formatted string and a new line, using the same semantics as Format.

#### Protected Instance Methods

Dispose | Releases the unmanaged resources used by the TemplateWriter and optionally releases the managed resources.
Finalize (inherited from StreamWriter) | Frees the resources of the current StreamWriter before it is reclaimed by the garbage collector.
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object.

#### See Also

TemplateWriter Class | NDoc.Core Namespace