IModel.GetField method
Namespace: NextDesign.Core
Description
Gets the value of the specified field of this instance.
If the multiplicity of the specified field is 2 or more, get the first element of the field.
argument
Name | Type | Description |
---|---|---|
fieldName | string | Field name You cannot specify null or an empty string. |
Return value
- object
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 |