MarkdownWriter.WriteLink Method
- Namespace
- Kampute.DocToolkit.IO.Writers
- Assembly
- Kampute.DocToolkit.dll
Definition
Writes a hyperlink.
public override void WriteLink(Uri url, Action<MarkupWriter> linkTextHandler = null)Parameters
urlUri- The Uri representing the link's destination.
linkTextHandlerAction<MarkupWriter> optional- The action to write the text of the link, or
nullto use the URL as the text.
Exceptions
- ArgumentNullException
- Thrown when
urlisnull.
