IModel.Count Method
Namespace: NextDesign.Core
Description
Gets the number of values in the specified field.
This method does not evaluate IContextOption.PlModelAccessMode.
Arguments
| Name | Type | Description |
|---|---|---|
| fieldName | string | Field name Null or an empty string cannot be specified. |
Return value
- int
Exception
| 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 |