Parameter.ConvertTypeCodeToDbType(TypeCode) 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 System::Data::DbType ConvertTypeCodeToDbType(TypeCode typeCode);
public static System.Data.DbType ConvertTypeCodeToDbType (TypeCode typeCode);
static member ConvertTypeCodeToDbType : TypeCode -> System.Data.DbType
Public Shared Function ConvertTypeCodeToDbType (typeCode As TypeCode) As DbType
Parameters
Returns
A DbType value that is equivalent to the specified TypeCode value.
Remarks
This method returns an Object instance if no equivalent is found. Types without equivalent database types include DBNull and Empty.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.