IModel.Count method

Namespace: NextDesign.Core

Description

Gets the value count of the specified field.

This method does not evaluate IContextOption.PlModelAccessMode.

argument

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

Return value

  • int

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