Call this member function to retrieve the name of a specified file.

syntaxSyntax:
DlxFile.GetFileName()

Return Value

If successful, it returns the file name otherwise it returns an empty string.

Example

  Copy codeCopy 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());

See also