Partager via


ModelExtensions.CastEnum<TFromEnum,TToEnum>(TFromEnum) Method

Definition

public static TToEnum CastEnum<TFromEnum,TToEnum> (this TFromEnum fromEnum);
static member CastEnum : 'FromEnum -> 'oEnum
<Extension()>
Public Function CastEnum(Of TFromEnum, TToEnum) (fromEnum As TFromEnum) As TToEnum

Type Parameters

TFromEnum
TToEnum

Parameters

fromEnum
TFromEnum

Returns

TToEnum

Applies to