enumCnt Function [AX 2012]

Updated: January 18, 2010

Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

Retrieves the number of elements in the specified enumeration type.


int enumCnt(enum enumtype)

Parameter

Description

enumtype

The enumeration type.

The number of elements in the specified enumeration type.

  • enumCnt(NoYes); //Returns 2, as the two elements are Yes and No.


Announcements: To see known issues and recent fixes, use Issue search in Microsoft Dynamics Lifecycle Services (LCS).

Community Additions

ADD
Show: