IModel.GetFieldStringAt method

Namespace: NextDesign.Core

Description

Gets the value at the specified index position of the specified field of this instance in string format. If the field at the specified index position is of class type, get the instance name at the beginning of that field.

argument

Name Type Description
fieldName string Field name
Null or empty string cannot be specified.
index int Position
Specify the index where the start position is 0.

Return value

  • string

Exception

Name Exception Class Description
Invalid argument ExtensionArgumentException When null or empty string is specified in fieldName
Field not found ExtensionFieldNotFoundException If the specified field is not found in this instance's metaclass
Illegal field access ExtensionIllegalFieldAccessException When this method is executed for a field whose upper limit of multiplicity is 1
Invalid index range ExtensionOutOfRangeException If a negative number is specified for index
, or if a value greater than the number of elements in the corresponding field is specified for index