GetEnumValueForConstant Method
- Last UpdatedApr 08, 2026
- 1 minute read
Finds the integer value for the specified enumConstant.
public int GetEnumValueForConstant(
string enumConstant
)
public:
int GetEnumValueForConstant(
String^ enumConstant
)
Parameters
- enumConstant
- The enumeration constant name.
Return Value
The integer value of the enumeration constant if it is found.
| Exception | Description |
|---|---|
| OASySDNA.Common.DNAException | enumConstant is not found. |