FileDialog::FileNames Property

 

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

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

public:
property array<String^>^ FileNames {
	[SecurityCriticalAttribute]
	array<String^>^ get();
}

Property Value

Type: array<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: