Share via


SqlCeParameter.Precision Property

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

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

  [Visual Basic]
  Public Overridable Property Precision As Byte  Implements _
   IDbDataParameter.Precision
[C#]
public virtual byte Precision {get; set;}
[C++]
public: __property virtual unsigned char get_Precision();
public: __property virtual void set_Precision(unsigned char);
[JScript]
public function get Precision() : Byte;
public function set Precision(Byte);

Property Value

The maximum number of digits used to represent the Value property. The default value is 0.

Implements

IDbDataParameter.Precision

Remarks

The Precision property is only used for decimal and numeric input parameters.

Requirements

Platforms: .NET Compact Framework

.NET Framework Security:

See Also

SqlCeParameter Class | SqlCeParameter Members | System.Data.SqlServerCe Namespace | Scale | Size

Syntax based on .NET Framework version 1.1.
Documentation version 1.1.1.

Send comments on this topic.

© Microsoft Corporation. All rights reserved.