Share via


SqlCeParameter.Scale Property

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

Gets or sets the number of decimal places to which Value is resolved.

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

Property Value

The number of decimal places to which Value is resolved. The default is 0.

Implements

IDbDataParameter.Scale

Remarks

The Scale 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 | Precision | Size

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

Send comments on this topic.

© Microsoft Corporation. All rights reserved.