GetLocation Method
Create a location based on a line index. All statements of a model and numbered from 0 to lastLineIndex. This function can be used to generate a location object (which provides information on the location of the statement in terms of line number and file name) based on a line index.
Namespace: Mosel
Assembly: xprmdn (in xprmdn.dll) Version: 4.8.0.0

C#
public XPRMLocation GetLocation( int lindex )
Parameters
- lindex
-
Type:
SystemInt32
Line index
Return Value
Type: XPRMLocationA new location object
