IModel.GetFieldStringAt method
Namespace: NextDesign.Core
Description
Gets the value of the specified index position in the specified field of this instance in string format. If the field at the specified index position is of class type, get the first instance name of that field.
argument
Name | Type | Description |
---|---|---|
fieldName | string | Field name Null or an empty string cannot be specified. |
index | int | Position Specify the index whose start position is 0. |
Return value
- string
Exception
Name | Exception Class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | When null or an empty string is specified for fieldName |
Field not found | ExtensionFieldNotFoundException | If the specified field is not found in the metaclass of this instance |
Illegal field access | ExtensionIllegalFieldAccessException | When this method is executed for a field with a multiplicity limit of 1 |
Invalid index range | ExtensionOutOfRangeException | When a negative number is specified for index or when a value greater than or equal to the number of elements in the corresponding field is specified for index |