
An instance of the HypertextLinkCollection class contains all hypertext links in a Text Control document represented through objects of the type HypertextLink. An instance of this class can be obtained with the TextControl.HypertextLinks property. The HypertextLinkCollection class implements the IEnumerable and the ICollection interfaces. For more information see the technical article Text Fields and Hypertext Links.
[C#]
public sealed class HypertextLinkCollection: ICollection, IEnumerable
[Visual Basic]
Public NotInheritable Class HypertextLinkCollection
Implements ICollection
Implements IEnumerable
| Property | Description | |
| CanAdd | Gets a value indicating whether a new hypertext link can be inserted at the current input position. | |
| Count | Gets the number of elements contained in the collection. |
| Method | Description | |
| Add | Inserts a new hypertext link at the current input position. | |
| Clear | Removes all hypertext links from a Text Control document. | |
| CopyTo | Copies the elements of the collection to an array, starting at a particular index. | |
| GetEnumerator | Returns an enumerator that can be used to iterate through the collection. | |
| GetItem | Gets a particular hypertext link from the collection. | |
| Remove | Removes a hypertext link from a Text Control document. |