IModel.GetFieldString Method
Namespace: NextDesign.Core
Description
Gets the value of the specified field of this instance in string format.
If the specified field is a class type, the first instance name of the field is obtained.
If the multiplicity is 2 or more, the first element of the field is obtained.
Arguments
Name | Type | Description |
---|---|---|
fieldName | string | Field name Null or an empty string cannot be specified. |
Return value
- string
Exception
Name | Exception class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | If fieldName is null or an empty string is specified |
Field not found | ExtensionFieldNotFoundException | If the specified field is not found in the metaclass of this instance |