Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DefaultFilePath property
Collapse the table of content
Expand the table of content

Options.DefaultFilePath property

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

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

string this[
	WdDefaultFilePath Path
] { get; set; }


Type: Microsoft.Office.Interop.Word.WdDefaultFilePath

Required WdDefaultFilePath. The default folder to set.

Property value

Type: System.String

The new setting takes effect immediately.

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

© 2015 Microsoft