ICodeBlockResolver.ParseSyntax(InlineCollection, String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Parses Code Block text into Rich text.
public bool ParseSyntax(Windows.UI.Xaml.Documents.InlineCollection inlineCollection, string text, string codeLanguage);
abstract member ParseSyntax : Windows.UI.Xaml.Documents.InlineCollection * string * string -> bool
Public Function ParseSyntax (inlineCollection As InlineCollection, text As String, codeLanguage As String) As Boolean
Parameters
- inlineCollection
- Windows.UI.Xaml.Documents.InlineCollection
Block to add formatted Text to.
- text
- String
The raw code block text
- codeLanguage
- String
The language of the Code Block, as specified by {Language} on the first line of the block, e.g. <p></p>
C#
Returns
Parsing was handled Successfully