Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Wiki Markup
{description}
{excerpt}Creates and returns a [Hyperlink|Hyperlink] at the beginning of this Element. This hyperlink will have the specified url and displayed text.{excerpt}
{signature:C#}
 public virtual Hyperlink InsertHyperlinkBefore(System.String url, System.String display)
{signature}{signature:vb.net}
Public Overridable Function InsertHyperlinkBefore(ByVal url As String, ByVal display As String) As Hyperlink
{signature}
{parameters}
{param:url}A {{String}} representing the url to link to.{param}
{param:display}A {{String}} representing the text that will be displayed in the document for this hyperlink.{param}
{returns}A {{Hyperlink}} object representing the newly created hyperlink.{returns}
{exceptions}
{exception:System.Exception}{exception}
{example}{code:csharp|title=C#}
Hyperlink link = e.InsertHyperlinkBefore("http://www.softartisans.com", "SoftArtisans");{code}
{code:vb.net|title=vb.net}
Dim link As Hyperlink = e.InsertHyperlinkBefore("http://www.softartisans.com", "SoftArtisans"){code}

{example}