rice class : Import(string) method

Description

Load the user-defined type.

Syntax

riceInstance.Import(string cookFilePath)

Arguments

ClassNameDescription
stringcookFilePathAbsolute path to the '.cook' file.

Return value

None

Sample code

//anyRice is a instance of rice type.

anyRice.Import("c:\....\sometype.cook");

Notes

None

Links for reference

None

Copyright © Rice All rights reserved.