ContentsIndexHome
PreviousUpNext
ISession.openData Method

Opens and creates an IData object that represents the data of the AIMMS identifier with the provided name.  

 

C#
IData openData(String name);
Parameters 
Description 
String name 
The name of the AIMMS identifier. 

An instance of an IData object.

Throws an InvalidUseException if the model has no identifier with the supplied name. 

Depending on the actual AIMMS identifer, the appropriate instance of a kind of IData object will be returned (ISetData, IScalarData or IMultiDimData).