Skip to main content

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, the first element of the field is obtained.

Arguments

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

Return value

  • object

Exception

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