Edit

Share via


ICodeBlockResolver.ParseSyntax(InlineCollection, String, String) Method

Definition

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#

public void Method();

```

Returns

Parsing was handled Successfully

Applies to