IModel.GetFieldValues Method
Namespace: NextDesign.Core
Description
Gets the value collection of 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.
Arguments
Name | Type | Description |
---|---|---|
fieldName | string | Field name Null or an empty string cannot be specified. |
Return value
- IModelCollection
Exceptions
Name | Exception class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | If fieldName is null or an empty string is specified |
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 |