Home Cooker Classes Others Rice CookerGX
Classes  >  file  >  Name
file class : Name getter

Description

Gets a name of the file.

Syntax

fileInstance.Name

Arguments

None

Return value

ClassDescription
stringName of the file.

Sample code

//anyFile is a instance of file type.

string name = anyFile.Name;

Notes

It's a wrapper of the System.IO.FileInfo.Name.

The name of the file includes the file extension.

Links for reference

Copyright © Rice All rights reserved.