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

Description

Gets a string that represent the extension part of the file.

Syntax

fileInstance.Extension

Arguments

None

Return value

ClassDescription
stringExtension part of the file.

Sample code

//anyFile is a instance of file type.

string extention = anyFile.Extension;

Notes

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

Links for reference

Copyright © Rice All rights reserved.