The StructuredTextWriter type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| StructuredTextWriter |
Creates a structured text writer.
|
Methods
| Name | Description | |
|---|---|---|
| BeginMarker |
Begins a marked region. May be nested.
(Inherited from MarkupStreamWriter.) | |
| BeginSection |
Begins a section with the specified name. May be nested.
(Inherited from MarkupStreamWriter.) | |
| Close |
Closes the current writer and releases any system resources associated with the writer.
(Inherited from TextWriter.) | |
| CreateObjRef |
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.) | |
| Dispose | Overloaded. | |
| Embed |
Embeds an attachment.
(Inherited from MarkupStreamWriter.) | |
| EmbedExisting |
Embeds another copy of an existing attachment.
(Inherited from MarkupStreamWriter.) | |
| EmbedHtml |
Embeds an HTML attachment with mime-type Html.
(Inherited from MarkupStreamWriter.) | |
| EmbedImage |
Embeds an image attachment with a mime-type compatible with its internal representation.
(Inherited from MarkupStreamWriter.) | |
| EmbedObjectAsXml | Overloaded. | |
| EmbedPlainText |
Embeds an plain text attachment with mime-type PlainText.
(Inherited from MarkupStreamWriter.) | |
| EmbedVideo |
Embeds a video attachment with a mime-type compatible with its internal representation.
(Inherited from MarkupStreamWriter.) | |
| EmbedXHtml |
Embeds an XHTML attachment with mime-type XHtml.
(Inherited from MarkupStreamWriter.) | |
| EmbedXml |
Embeds an XML attachment with mime-type Xml.
(Inherited from MarkupStreamWriter.) | |
| End |
Ends the region most recently started with one of the Begin* methods.
(Inherited from MarkupStreamWriter.) | |
| Equals |
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| Flush |
Clears all buffers for the current writer and causes any buffered data to be written to the underlying device.
(Inherited from MarkupStreamWriter.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetLifetimeService |
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| InitializeLifetimeService |
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.) | |
| MemberwiseClone | Overloaded. | |
| ToString |
Returns the structured text formatted as a string.
(Overrides Object..::.ToString()()().) | |
| ToStructuredText |
Gets the structured text produced so far.
| |
| Write | Overloaded. | |
| WriteEllipsis |
Writes an ellipsis to indicate where content has been elided for brevity.
An ellipsis may be used, for example, when printing assertion failures to clearly
identify sections where the user is not being presented all of the information
because it was too long and had to be truncated.
(Inherited from MarkupStreamWriter.) | |
| WriteException | Overloaded. | |
| WriteHighlighted |
Writes highlighted text. Highlights can be used to
emphasize important information such differences between similar expected
and actual values.
(Inherited from MarkupStreamWriter.) | |
| WriteLine | Overloaded. | |
| WriteTo |
Writes the object to a markup stream.
|
Extension Methods
| Name | Description | |
|---|---|---|
| Format | Overloaded. |
Fields
| Name | Description | |
|---|---|---|
| CoreNewLine |
Stores the new line characters used for this TextWriter.
(Inherited from TextWriter.) |
Properties
| Name | Description | |
|---|---|---|
| Container |
Gets the containing markup document writer.
(Inherited from MarkupStreamWriter.) | |
| Encoding |
When overridden in a derived class, returns the Encoding in which the output is written.
(Inherited from MarkupStreamWriter.) | |
| FormatProvider |
Gets an object that controls formatting.
(Inherited from TextWriter.) | |
| NewLine |
Gets or sets the line terminator string used by the current TextWriter.
(Inherited from MarkupStreamWriter.) | |
| StreamName |
Gets the name of the markup stream being written.
(Inherited from MarkupStreamWriter.) |
