TXTextControl.HypertextLinkCollection.GetItem Method

Gets a particular hypertext link from the collection.

GetItem()

Gets the hypertext link at the current input position or null if there is no hypertext link at the current input position.

[C#]
public HypertextLink GetItem();
[Visual Basic]
Public Function GetItem() As HypertextLink

GetItem(Int32)

Gets the hypertext link with the specified id. An id can be set with the HypertextLink.ID property.

[C#]
public HypertextLink GetItem(int id);
[Visual Basic]
Public Function GetItem(ByVal id As Integer) As HypertextLink
Parameter Description
id

Specifies the hypertext link's identifier. The method returns null if a hypertext link with the specified identifier does not exist.

See Also