ModelExtensions.CastEnum<TFromEnum,TToEnum>(TFromEnum) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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