Export (0) Print
Expand All
1 out of 3 rated this helpful - Rate this topic

OracleParameter.Precision Property

NOTE: This property is now obsolete. The non-obsolete alternative is To be written..

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)

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

/** @property */
public final byte get_Precision ()

/** @property */
public final void set_Precision (byte value)

public final function get Precision () : byte

public final function set Precision (value : byte)

Property Value

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.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 1.1
Obsolete (compiler warning) in 2.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.