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
Syntaxpublic 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
Remarks Examples
ExamplesExample 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
See AlsoReference
[!:NeoAxis.TextBlock.DumpToString()]