Export (0) Print
Expand All
Expand Minimize

_Document.DefaultTargetFrame Property 

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

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

'Usage
Dim _Document1 As _Document

Dim returnValue As String
returnValue = _Document1.DefaultTargetFrame

Dim sampleValue As String
_Document1.DefaultTargetFrame = sampleValue

string DefaultTargetFrame {get; set;}
public System.String get_DefaultTargetFrame();
public void set_DefaultTargetFrame(System.String);
function get DefaultTargetFrame() : String;
function set DefaultTargetFrame(String);

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


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Community Additions

ADD
Show:
© 2015 Microsoft