Create a NSNumber instance the with enumeration value.
Declaration Syntax
Generic Template Parameters
- T
- The enumeration type
Parameters
- value (T)
- The value.
Return Value
A NSNumber instance or null if the type is not an enumeration.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)