FileDialog.FileNames Property

Definition

Gets an array that contains one file name for each selected file.

public:
 property cli::array <System::String ^> ^ FileNames { cli::array <System::String ^> ^ get(); };
[get: System.Security.SecurityCritical]
public string[] FileNames { get; }
member this.FileNames : string[]
Public ReadOnly Property FileNames As String()

Property Value

String[]

An array of String that contains one file name for each selected file. The default is an array with a single item whose value is Empty.

Attributes

Security

FileIOPermission
to get the path collection from the dialog. Associated enumeration: Unrestricted

Applies to

See also