file class : Name getter
Description
Gets a name of the file.
Syntax
fileInstance.Name
Arguments
None
Return value
Class | Description |
string | Name of the file. |
Sample code
1: | file f = new file("c:\somewhere..."); |
2: | string name = f.Name; |
Notes
It's a wrapper of the System.IO.FileInfo.Name property.
The name of the file includes the file extension.