Hyperlinks Interface

Represents the collection of Hyperlink objects in a document, range, or selection.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
<GuidAttribute("0002099C-0000-0000-C000-000000000046")> _
Public Interface Hyperlinks _
    Inherits IEnumerable
'Usage
Dim instance As Hyperlinks
[GuidAttribute("0002099C-0000-0000-C000-000000000046")]
public interface Hyperlinks : IEnumerable

Remarks

Use the Hyperlinks property of a Document, Range, or Selection object to return the Hyperlinks collection.

Use the Add method to create a hyperlink and add it to the Hyperlinks collection.

Use Hyperlinks(index), where index is the index number, to return a single Hyperlink object in a document, range, or selection.

The Count property for this collection in a document returns the number of items in the main story only. To count items in other stories, use the collection with the Range object.

See Also

Reference

Hyperlinks Members

Microsoft.Office.Interop.Word Namespace