Hyperlink.ExtraInfoRequired 属性 (Word)Hyperlink.ExtraInfoRequired property (Word)

如此 如果需要额外的信息来解析指定的超链接。True if extra information is required to resolve the specified hyperlink. 只读的 布尔值Read-only Boolean.

语法Syntax

expressionexpression. ExtraInfoRequired

_表达式_代表超链接对象的变量。expression A variable that represents a 'Hyperlink' object.

备注Remarks

您可以通过使用**按照** 或**FollowHyperlink** 方法的 ExtraInfo 参数指定的额外信息。You can specify extra information by using the ExtraInfo argument with the Follow or FollowHyperlink method. 例如,可以使用 ExtraInfo 指定的坐标图像映射中,窗体或 FAT 文件名的内容。For example, you can use ExtraInfo to specify the coordinates of an image map, the contents of a form, or a FAT file name.

示例Example

本示例首先插入指向 www.msn.com 的超链接,如果不需要额外信息,则跟踪此超链接。This example inserts a hyperlink to www.msn.com and then follows the hyperlink if extra information isn't required.

Dim hypTemp As Hyperlink 
 
With Selection 
 .Collapse Direction:=wdCollapseEnd 
 .InsertAfter "MSN " 
 .Previous 
End With 
Set hypTemp = ActiveDocument.Hyperlinks.Add( _ 
 Address:="https://www.msn.com", _ 
 Anchor:=Selection.Range) 
If hypTemp.ExtraInfoRequired = False Then 
 hypTemp.Follow 
End If

另请参阅See also

超链接对象Hyperlink Object