Skip to main content

IModel.GetFieldString method

Namespace: NextDesign.Core

Description

Gets the value of the specified field of this instance in string format.
Gets the leading instance name of the specified field if it is of class type.
In addition, if the multiplicity is 2 or more, the first element of the corresponding field is acquired.

argument

NameTypeDescription
fieldNamestringField name
You cannot specify null or an empty string.

Return value

  • string

Exceptions

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