Partilhar via


SqlCeParameter.ResetDbType Method

Resets the type associated with this SqlCeParameter.

Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in system.data.sqlserverce.dll)

Syntax

'Declaration
Public Overrides Sub ResetDbType
'Usage
Dim instance As SqlCeParameter

instance.ResetDbType
public override void ResetDbType ()
public:
virtual void ResetDbType () override
public void ResetDbType ()
public override function ResetDbType ()
Not applicable.

Remarks

The ResetDbType method resets the DbType property to the default type based on its value.

Calling this method affects both the DbType and SqlDbType properties of the SqlCeParameter.

Platforms

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows XP Professional x64 Edition, Windows XP SP2

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

.NET Compact Framework

Supported in: 2.0

See Also

Reference

SqlCeParameter Class
SqlCeParameter Members
System.Data.SqlServerCe Namespace