DbParameter.IDbDataParameter.Precision 属性
定义
指示数值参数的精度。Indicates the precision of numeric parameters.
property System::Byte System::Data::IDbDataParameter::Precision { System::Byte get(); void set(System::Byte value); };
byte System.Data.IDbDataParameter.Precision { get; set; }
member this.System.Data.IDbDataParameter.Precision : byte with get, set
Property Precision As Byte Implements IDbDataParameter.Precision
属性值
用于表示数据提供程序 Parameter 对象的 Value 属性的最大位数。The maximum number of digits used to represent the Value property of a data provider Parameter object. 默认值为 0,指示数据提供程序将设置 Value 的精度。The default value is 0, which indicates that a data provider sets the precision for Value.
实现
注解
此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 DbParameter 实例被强制转换为 IDbDataParameter 接口时使用。It can be used only when the DbParameter instance is cast to an IDbDataParameter interface.
有关详细信息,请参阅 IDbDataParameter.Precision。For more information, see IDbDataParameter.Precision.