OracleParameter::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.

Note: This API is now obsolete.

Gets or sets the maximum number of digits used to represent the Value property.

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

public:
[BrowsableAttribute(false)]
[ObsoleteAttribute("Precision has been deprecated.  Use the Math classes to explicitly set the precision of a decimal.  http://go.microsoft.com/fwlink/?linkid=14202")]
property unsigned char Precision {
	virtual unsigned char get() sealed;
	virtual void set(unsigned char value) sealed;
}

Property Value

Type: System::Byte

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

Setting the Precision or Scale properties has no effect.

.NET Framework
Available since 1.1
Return to top
Show: