Click or drag to resize

EnumExtensions Methods

[This is preliminary documentation and is subject to change.]

The EnumExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberToIntTEnum
Converts an enum value to its integer equivalent. If the enum is nullable and the value is NULL, the integer value of defaultValue will be returned
Public methodStatic memberToIntDefaultNullTEnum
Converts an enum value to an integer. If value is NULL, then we stick with NULL. If value is equal to defaultValue, then we return NULL too.
Top
See Also