FileName Property

Summary

Gets or sets a string containing the file name selected in the file dialog box.

Syntax
C#
VB
C++
public string FileName { get; set; } 
  
Public Property FileName As String 
public: 
property String^ FileName { 
   String^ get(); 
   void set (    String^ value); 
} 

Property Value

The file name selected in the file dialog box.

Remarks

Use this to initiate the dialog selection file name. The selected file(s) when the user presses Open in OpenedFileData.

Example

Refer to RasterOpenDialog example.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.WinForms.CommonDialogs.File Assembly