Modifica

Condividi tramite


Hyperlinks Interface

Definition

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

public interface class Hyperlinks : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("0002099C-0000-0000-C000-000000000046")]
public interface Hyperlinks : System.Collections.IEnumerable
type Hyperlinks = interface
    interface IEnumerable
Public Interface Hyperlinks
Implements IEnumerable
Attributes
Implements

Remarks

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

Use the Add(Object, Object, Object, Object, Object, Object) 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.

Properties

Application

Returns an Application object that represents the Microsoft Word application.

Count

Returns the number of items in the specified collection.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created.

Item[Object]

Returns an individual object in a collection.

Parent

Returns an object that represents the parent object of the specified object.

Methods

_Add(Object, Object, Object)

Reserved for internal use.

Add(Object, Object, Object, Object, Object, Object)

Returns a Hyperlink object that represents a new hyperlink added to a range, selection, or document.

GetEnumerator()

Applies to