Parses the text with data of the block and his children.
Namespace:
NeoAxis
Assembly:
NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax public static TextBlock Parse(
string str,
out string error
)
Parameters
- str
- Type: SystemString
The data string. - error
- Type: SystemString
The information on an error.
Return Value
Type:
TextBlockTextBlock if the block has been parsed; otherwise,
null.
Remarks Examples Example of loading of data of the block from a stream.
FileStream stream = ...;
StreamReader streamReader = new StreamReader( stream );
string error;
TextBlock block = TextBlock.Parse( streamReader.ReadToEnd(), out error );
streamReader.Dispose();
See Also Reference
[!:NeoAxis.TextBlock.DumpToString()]