Skip to main content

IModel.Count method

Namespace: NextDesign.Core

Description​

Gets the value count for the specified field.

This method does not evaluate IContextOption.PlModelAccessMode.

argument​

NameTypeDescription
fieldNamestringField name
You cannot specify null or an empty string.

Return value​

  • int

Exceptions​

NameException ClassDescription
Invalid argumentExtensionArgumentExceptionIf null or an empty string is specified for fieldName
Field not foundExtensionFieldNotFoundExceptionIf the specified field is not found in this instance's metaclass