DbParameter.DbType 属性

定义

获取或设置参数的 DbType

public:
 abstract property System::Data::DbType DbType { System::Data::DbType get(); void set(System::Data::DbType value); };
public abstract System.Data.DbType DbType { get; set; }
[System.ComponentModel.Browsable(false)]
public abstract System.Data.DbType DbType { get; set; }
member this.DbType : System.Data.DbType with get, set
[<System.ComponentModel.Browsable(false)>]
member this.DbType : System.Data.DbType with get, set
Public MustOverride Property DbType As DbType

属性值

DbType 值之一。 默认值为 String

实现

属性

例外

该属性未设置为有效的 DbType

适用于

另请参阅