Gets or sets a string containing the file name selected in the file dialog box.
Syntax
Visual Basic (Declaration) | |
---|
Public Property FileName As String |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As RasterOpenDialog
Dim value As String
instance.FileName = value
value = instance.FileName
|
C# | |
---|
public string FileName {get; set;} |
Managed Extensions for C++ | |
---|
public: __property string* get_FileName();
public: __property void set_FileName(
string* value
); |
Return Value
The file name selected in the file dialog box.
Example
Remarks
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