Export (0) Print
Expand All

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("Precision has been deprecated.  Use the Math classes to explicitly set the precision of a decimal.  http://go.microsoft.com/fwlink/?linkid=14202")> _
Public Property Precision As Byte
Dim instance As OracleParameter
Dim value As Byte

value = instance.Precision

instance.Precision = value
/** @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

Community Additions

© 2014 Microsoft