Options.DefaultFilePath[WdDefaultFilePath] Property

Definition

Returns or sets default folders for items such as documents, templates, and graphics.

public:
 property System::String ^ DefaultFilePath[Microsoft::Office::Interop::Word::WdDefaultFilePath] { System::String ^ get(Microsoft::Office::Interop::Word::WdDefaultFilePath Path); void set(Microsoft::Office::Interop::Word::WdDefaultFilePath Path, System::String ^ value); };
public string DefaultFilePath[Microsoft.Office.Interop.Word.WdDefaultFilePath Path] { get; set; }
member this.DefaultFilePath(Microsoft.Office.Interop.Word.WdDefaultFilePath) : string with get, set
Public Property DefaultFilePath(Path As WdDefaultFilePath) As String

Parameters

Path
WdDefaultFilePath

Required WdDefaultFilePath. The default folder to set.

Property Value

Remarks

The new setting takes effect immediately.

You can use an empty string ("") to remove the setting from the Windows registry.

Applies to