FileDialogFileInfo.Name Property
Gets the file name and extension of the current file.
Namespace: System.Windows.Controls
Assembly: System.Windows (in System.Windows.dll)
Syntax
'Declaration
Public ReadOnly Property Name As String
'Usage
Dim instance As FileDialogFileInfo
Dim value As String
value = instance.Name
public string Name { get; }
public:
property String^ Name {
String^ get ();
}
public function get Name () : String
Property Value
Type: System.String
The file name and extension of the current file.
Remarks
Folder information for the file is not returned.