Enum.GetTypeCode Method

Definition

Returns the type code of the underlying type of this enumeration member.

public:
 virtual TypeCode GetTypeCode();
public TypeCode GetTypeCode ();
abstract member GetTypeCode : unit -> TypeCode
override this.GetTypeCode : unit -> TypeCode
Public Function GetTypeCode () As TypeCode

Returns

The type code of the underlying type of this instance.

Implements

Exceptions

The enumeration type is unknown.

Applies to

See also