Edit

Share via


Hyperlink.CreateNewDocument(String, Boolean, Boolean) Method

Definition

Creates a new document linked to the specified hyperlink.

public:
 void CreateNewDocument(System::String ^ Filename, bool EditNow, bool Overwrite);
public void CreateNewDocument (string Filename, bool EditNow, bool Overwrite);
Public Sub CreateNewDocument (Filename As String, EditNow As Boolean, Overwrite As Boolean)

Parameters

Filename
String

Required String. The file name of the specified document.

EditNow
Boolean

Required Boolean. True to have the specified document open immediately in its associated editing environment. The default value is True.

Overwrite
Boolean

Required Boolean. True to overwrite any existing file of the same name in the same folder. False if any existing file of the same name is preserved and the Filename argument specifies a new file name. The default value is False.

Applies to