Click or drag to resize
EnumTEnumToEnum Method
Converts the specified object with an integer value to an enumeration member.

Namespace: Bobs
Assembly: Bobs.Utilities (in Bobs.Utilities.dll) Version: 0.1.0-dev001
Syntax
public static TEnum ToEnum(
	Object value
)

Parameters

value
Type: SystemObject
The value to convert to an enumeration member.

Return Value

Type: TEnum
An enumeration member whose value is value.
Exceptions
ExceptionCondition
ArgumentNullExceptionvalue is null.
ArgumentExceptionvalue is not type System.SByte, System.Int16, System.Int32, System.Int64, System.Byte, System.UInt16, System.UInt32, or System.UInt64.
See Also