Responder Developer Guide
ToEnum<T>(Object,T) Method


Version: 10.2.1b and 10.2.1b SP1

Resource Center Home

Syntax
'Declaration
 
Public Overloads Shared Function ToEnum(Of T As {New, Struct})( _
   ByVal value As Object, _
   ByVal nullValue As T _
) As T
'Usage
 
Dim value As Object
Dim nullValue As T
Dim value As T
 
value = DbConvert.ToEnum(Of T)(value, nullValue)
public static T ToEnum<T>( 
   object value,
   T nullValue
)
where T: new(), struct

Parameters

value
nullValue

Type Parameters

T
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

DbConvert Class
DbConvert Members
Overload List

 

 


Send Comment