Skip to main content

IModel.GetFieldStringAt Method

Namespace: NextDesign.Core

Description

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

Arguments

NameTypeDescription
fieldNamestringField name
Null or an empty string cannot be specified.
indexintPosition
Specify an index with the first position being 0.

Return value

  • string

Exception

NameException classDescription
Invalid argumentExtensionArgumentExceptionIf null or an empty string is specified for fieldName
Field not foundExtensionFieldNotFoundExceptionIf the specified field is not found in the metaclass of this instance
Illegal field accessExtensionIllegalFieldAccessExceptionIf this method is executed for a field whose multiplicity limit is 1
Invalid index rangeExtensionOutOfRangeExceptionIf a negative number is specified for index
or if a value equal to or greater than the number of elements in the corresponding field is specified for index