Redigera

Dela via


FileDialog.InitialDirectory Property

Definition

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

public:
 property System::String ^ InitialDirectory { System::String ^ get(); void set(System::String ^ value); };
public string InitialDirectory { get; [System.Security.SecurityCritical] set; }
public string InitialDirectory { get; set; }
[<set: System.Security.SecurityCritical>]
member this.InitialDirectory : string with get, set
member this.InitialDirectory : string with get, set
Public Property InitialDirectory As String

Property Value

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

Attributes

Remarks

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

Applies to