CoerceToDbValue Method
See Also 
SourceCode.Data.Sql Namespace > SqlDataAccessProvider Class : CoerceToDbValue Method



value
typeHint
type
subtype

Glossary Item Box

Syntax

Visual Basic (Declaration)  
Public Function CoerceToDbValue( _
   ByVal value As Object, _
   ByVal typeHint As Type, _
   ByRef type As ReliableDbType, _
   ByRef subtype As String _
) As Object
Visual Basic (Usage) Copy Code
Dim instance As SqlDataAccessProvider
Dim value As Object
Dim typeHint As Type
Dim type As ReliableDbType
Dim subtype As String
Dim value As Object
 
value = instance.CoerceToDbValue(value, typeHint, type, subtype)
C#  
public object CoerceToDbValue( 
   object value,
   Type typeHint,
   out ReliableDbType type,
   out string subtype
)
C++/CLI  
public:
Object^ CoerceToDbValue( 
   Object^ value,
   Type^ typeHint,
   [Out] ReliableDbType type,
   [Out] String^ subtype
) 

Parameters

value
typeHint
type
subtype

Requirements

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

See Also