Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DbParameter::IDbDataParameter::Precision Property

 

Indicates the precision of numeric parameters.

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

private:
property unsigned char Precision {
	virtual unsigned char get() sealed = IDbDataParameter::Precision::get;
	virtual void set(unsigned char value) sealed = IDbDataParameter::Precision::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:
© 2017 Microsoft