Click or drag to resize

CodeWriter Methods

The CodeWriter type exposes the following members.

Methods
  NameDescription
Public methodBeginAlignment
Begin the association of alignment information with a code object.
Public methodBeginIndentOnNewLine
Begin a section during which any newline should be indented an extra level.
Public methodBeginIndentOnNewLineRelativeToCurrentOffset
Begin a section during which any newline should be indented relative to the current offset.
Public methodBeginIndentOnNewLineRelativeToLastIndent
Begin a section during which any newline should be indented relative to the last indented offset.
Public methodBeginIndentOnNewLineRelativeToParentOffset
Begin a section during which any newline should be indented relative to the parent object offset.
Public methodBeginOutdentOnNewLine
Begin a section during which any newline should be outdented by a certain amount, or to a certain offset.
Public methodDispose
Dispose the object.
Public methodEndAlignment
End the association of alignment information with a code object.
Public methodEndIndentation
End a section during which any newline should be indented an extra level.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFlush
Flush any pending data.
Protected methodFlushPendingEOLComments
Public methodGetColumnWidth
Get the column width associated with the specified CodeObject.
Public methodGetColumnWidths
Get any column widths associated with the specified CodeObject.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetIndentOffset
Get the indentation offset of the specified code object.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetParentOffset
Set the indent offset of the parent object.
Public methodToString
Convert all written data to a string.
(Overrides ObjectToString.)
Public methodWrite
Write the specified text.
Public methodWriteIdentifier
Write an identifier, prefixing with '@' if it happens to be a keyword.
Public methodWriteLine
Write optional text followed by a newline.
Public methodWriteLines
Write the specified number of newlines.
Public methodWriteList
Write a list of CodeObjects.
Public methodWriteName
Render a name, hiding any 'Attribute' suffix if it's an attribute name.
Public methodWritePendingEOLComment
Write a pending EOL comment, to be flushed later once it's known if anything follows it on the same line.
Top
See Also