IModel.GetFieldValues method
Namespace: NextDesign.Core
Description
Gets a collection of values for the specified field. This method evaluates IContextOption.PlModelAccessMode.
If the corresponding field value does not exist, it returns an empty collection. Note that the data type of the field specified by this method must be a class type.
argument
Name | Type | Description |
---|---|---|
fieldName | string | Field name Null or an empty string cannot be specified. |
Return value
- IModelCollection
Exception
Name | Exception Class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | When null or an empty string is specified for fieldName |
Field not found | ExtensionFieldNotFoundException | If the specified field is not found in the metaclass of this instance |
Invalid data type | ExtensionInvalidTypeException | If the data type of the specified field is not a class type |