MarkdownDocument.LookUpReference(String) Method

Definition

Looks up a reference using the ID. A reference is a line that looks like this: [foo]: http://example.com/

public Microsoft.Toolkit.Parsers.Markdown.Blocks.LinkReferenceBlock LookUpReference (string id);
member this.LookUpReference : string -> Microsoft.Toolkit.Parsers.Markdown.Blocks.LinkReferenceBlock
Public Function LookUpReference (id As String) As LinkReferenceBlock

Parameters

id
String

The ID of the reference (case insensitive).

Returns

The reference details, or null if the reference wasn't found.

Applies to