FileDialog.FileNames Property

 

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

Namespace:   Microsoft.Win32
Assembly:  PresentationFramework (in PresentationFramework.dll)

public string[] FileNames {
	[SecurityCriticalAttribute]
	get;
}

Property Value

Type: System.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.

FileIOPermission

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

.NET Framework
Available since 3.0
Return to top
Show: