Leadtools.WinForms.CommonDialogs.File Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
InitialDirectory Property
See Also 
Leadtools.WinForms.CommonDialogs.File Namespace > RasterOpenDialog Class : InitialDirectory Property




Gets or sets the initial directory displayed by the file dialog box.

Syntax

Visual Basic (Declaration) 
Public Property InitialDirectory As String
Visual Basic (Usage)Copy Code
Dim instance As RasterOpenDialog
Dim value As String
 
instance.InitialDirectory = value
 
value = instance.InitialDirectory
C# 
public string InitialDirectory {get; set;}
Managed Extensions for C++ 
public: __property string* get_InitialDirectory();
public: __property void set_InitialDirectory( 
   string* value
);
C++/CLI 
public:
property String^ InitialDirectory {
   String^ get();
   void set (String^ value);
}

Return Value

The initial directory displayed by the file dialog box.

Example

Refer to RasterOpenDialog example.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also