Skip to main content

IModel.GetField method

Namespace: NextDesign.Core

Description

Gets the value of the specified field for this instance. If the specified field has a multiplicity of 2 or more, the first element of the corresponding field is acquired.

argument

NameTypeDescription
fieldNamestringField name
Null or an empty string cannot be specified.

Return value

  • object

Exception

NameException ClassDescription
Invalid argumentExtensionArgumentExceptionWhen null or an empty string is specified for fieldName
Field not foundExtensionFieldNotFoundExceptionIf the specified field is not found in the metaclass of this instance