次の方法で共有


CastHelper.IntToEnum<E>(Int32) Method

Definition

public:
generic <typename E>
 static E IntToEnum(int _value);
public static E IntToEnum<E> (int _value);
static member IntToEnum : int -> 'E
Public Shared Function IntToEnum(Of E) (_value As Integer) As E

Type Parameters

E

Parameters

_value
Int32

Returns

E

Applies to