IModel.GetFieldString method

Namespace: NextDesign.Core

Description

Gets the value of the designated field of this instance in string format. If the specified field is of class type, gets the instance name at the beginning of the field. If the multiplicity is 2 or more, get the first element of the corresponding field.

argument

Name Type Description
fieldName string Field name
Null or empty string cannot be specified.

Return value

  • string

Exception

Name Exception Class Description
Invalid argument ExtensionArgumentException When null or empty string is specified in fieldName
Field not found ExtensionFieldNotFoundException If the specified field is not found in this instance's metaclass