StkPatternFileWriteTo Method |
Writes this instance to a TextWriter in the STK pattern file (.pattern) format.
The TextWriter can be a StreamWriter for writing to a file,
a StringWriter for writing to a string, or any number of other types.
Namespace:
AGI.Foundation.Stk
Assembly:
AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 25.2.423.0 (25.2.423.0)
Syntaxpublic void WriteTo(
TextWriter writer
)
Public Sub WriteTo (
writer As TextWriter
)
public:
void WriteTo(
TextWriter^ writer
)
member WriteTo :
writer : TextWriter -> unit
Parameters
- writer
- Type: System.IOTextWriter
The writer to which to write this instance.
Exceptions| Exception | Condition |
|---|
| UnsupportedCaseException | Thrown when the pattern file is in an unknown format. |
| ArgumentNullException |
Thrown when writer is .
|
See Also