DbParameter.IDbDataParameter.Precision Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Indicates the precision of numeric parameters.

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

byte IDbDataParameter.Precision { 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
Show: