Call this member function to retrieve the name of a specified file.
Syntax: |
---|
DlxFile.GetFileName() |
Return Value
If successful, it returns the file name otherwise it returns an empty string.
Example
Copy code | |
---|---|
var file = new DlxFile("demofile.txt");
DlxApp.Printf(file.GetFilePath());
DlxApp.Printf(file.GetFileFolder());
DlxApp.Printf(file.GetFileName());
DlxApp.Printf(file.GetFileTitle());
DlxApp.Printf(file.GetFileExt());
|