Miner.Data.Access Namespace > DbConvert Class > ToEnum Method : ToEnum<T>(Object) Method |
'Declaration
Public Overloads Shared Function ToEnum(Of T As {New, Struct})( _ ByVal value As System.Object _ ) As System.Nullable(Of T)
'Usage
Dim value As System.Object Dim value As System.Nullable(Of T) value = DbConvert.ToEnum(Of T)(value)
public function ToEnum( value: System.TObject ): System.Nullable; static;
public static function ToEnum( value : System.Object ) : System.Nullable;
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2