.NET Framework Class Library for Silverlight
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

Visual Basic (Declaration)
Public ReadOnly Property Name As String
Visual Basic (Usage)
Dim instance As FileDialogFileInfo
Dim value As String

value = instance.Name
C#
public string Name { get; }
Visual C++
public:
property String^ Name {
    String^ get ();
}
JScript
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.

See Also

Reference

Page view tracker