IModel.GetFieldStringAt Method
Namespace: NextDesign.Core
Description
Retrieves the value of the specified field at the specified index position in this instance as a string.
If the field at the specified index position is of a class type, it retrieves the instance name of the first element of that field.
Argument
| Name | Type | Description |
|---|---|---|
| fieldName | string | Field Name Null or an empty string cannot be specified. |
| index | int | Position Specify an index, with the starting position being 0. |
Return value
- string
Exceptions
| Name | Exception Class | Description |
|---|---|---|
| Invalid Argument | ExtensionArgumentException | When null or an empty string is specified for fieldName |
| Field Not Found | ExtensionFieldNotFoundException | When the specified field is not found in this instance's metaclass |
| Illegal Field Access | ExtensionIllegalFieldAccessException | When this method is executed on 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 field is specified for index |