IModel.GetFieldValues method

Namespace: NextDesign.Core

Description

Gets the value collection for the specified field. This method evaluates IContextOption.PlModelAccessMode.

Returns an empty collection if no such field value exists. Note that the field data type specified in this method must be a class type.

argument

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

Return value

  • IModelCollection

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
Invalid data type ExtensionInvalidTypeException If the data type of the specified field is not a class type