FileDialog::InitialDirectory Property


Gets or sets the initial directory that is displayed by a file dialog.

Namespace:   Microsoft.Win32
Assembly:  PresentationFramework (in PresentationFramework.dll)

property String^ InitialDirectory {
	String^ get();
	void set(String^ value);

Property Value

Type: System::String^

A String that contains the initial directory. The default is Empty.

If there is no initial directory set, this property will contain Empty rather than a null string.


to set the initial directory value. Associated enumeration: Unrestricted

.NET Framework
Available since 3.0
Return to top