Partilhar via


Document.DefaultTargetFrame Property

Gets or sets the browser frame in which to display a Web page reached through a hyperlink.

Namespace:  Microsoft.Office.Tools.Word
Assemblies:   Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

Syntax

'Declaration
Property DefaultTargetFrame As String
string DefaultTargetFrame { get; set; }

Property Value

Type: System.String
The browser frame in which to display a Web page reached through a hyperlink.

Remarks

The DefaultTargetFrame property has the following predefined strings: "_top", "_blank", "_parent", and "_self". It can also use any user-defined string.

.NET Framework Security

See Also

Reference

Document Interface

Microsoft.Office.Tools.Word Namespace