Description |
---|
Excerpt |
---|
This class represents a hyperlink field in a document. |
Signature | C# | C# | |
---|---|---|---|
Wiki Markup | |||
{description}
{excerpt}This class represents a hyperlink field in a document.{excerpt}
{signature:C#}
public sealed class Hyperlink : Field
| |||
Signature | |||
{signature}{signature:vb.net | vb.net | }
Public NotInheritable Class Hyperlink
Inherits Field
| |
Remarks | |||
To create a hyperlink, use {signature} {remarks}To create a hyperlink, use [Element.InsertHyperlinkBefore()|Element.InsertHyperlinkBefore(String, String)]. To get the hyperlinks in a [Document|Document], use the [Element.GetElements()|Element.GetElements(Element.Type)] method with a [Element.Type.Hyperlink|Element.Type#Hyperlink] parameter. The following sample demonstrates creating a hyperlink at the end of a new document and retrieving the first hyperlink of an existing document. | |||
Example | |||
Code Block | | csharp | csharp |
title | C# | ||
Code Block | vb.net | title |
Methods |
---|
...
Name
...
Description
...
...
{code} {example} {methods} ||Name||Description|| |[GetUrlString()|Hyperlink.GetUrlString() |
...
]|{excerpt-include:Hyperlink.GetUrlString() |
...
|nopanel |
...
=true}| |