DbParameter.IDbDataParameter.Precision Property


Indicates the precision of numeric parameters.

Namespace:   System.Data.Common
Assembly:  System.Data (in System.Data.dll)

private abstract Precision : byte with get, set
private override Precision : byte with get, set

Property Value

Type: System.Byte

The maximum number of digits used to represent the Value property of a data provider Parameter object. The default value is 0, which indicates that a data provider sets the precision for Value.

This member is an explicit interface member implementation. It can be used only when the DbParameter instance is cast to an IDbDataParameter interface.

For more information, see IDbDataParameter.Precision.

.NET Framework
Available since 2.0
Return to top