Home About Rice Downloads Documents Others Cooker CookerGX
Documents  >  Class  >  rice  >  SetFromFile(string)
rice class : SetFromFile(string) method

Description

Overwrite messages by the specified file.

Syntax

riceInstance.SetFromFile(string path)

Arguments

ClassNameDescription
stringpathA path to a message file.

Return value

None

Sample code

//anyRice is a instance of rice type.

anyRice.SetFromFile("c:\....\usermessage.txt");

Notes

If the message name already exist, this method overwrites its message.

If the message name do not exist, this method adds its message.

Links for reference

None

Copyright © Rice All rights reserved.