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, gets the first instance name of that field.
argument
Name | Type | Description |
---|---|---|
fieldName | string | Field name You cannot specify null or an empty string. |
index | int | Position Specifies the index starting at 0. |
Return value
- string
Exceptions
Name | Exception Class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | If null or an empty string is specified for fieldName |
Field not found | ExtensionFieldNotFoundException | If the specified field is not found in this instance's metaclass |
Illegal field access | ExtensionIllegalFieldAccessException | If this method is executed for a field with a maximum multiplicity of 1 |
Invalid index range | ExtensionOutOfRangeException | When a negative number is specified for index or when a value greater than the number of elements in the corresponding field is specified for index |