Share via


DataParameter.Scale Property

Retrieves or sets a byte value specifying the scale of the parameter.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
Public Overridable Property Scale As Byte
'Usage
Dim instance As DataParameter 
Dim value As Byte 

value = instance.Scale

instance.Scale = value
public virtual byte Scale { get; set; }
public:
virtual property unsigned char Scale {
    unsigned char get ();
    void set (unsigned char value);
}
public function get Scale () : byte 
public function set Scale (value : byte)

Property Value

Type: System.Byte
Returns the scale of the parameter as a byte value.

Remarks

Setting this property to 0xFF causes the default precision to be used.

.NET Framework Security

See Also

Reference

DataParameter Class

DataParameter Members

Microsoft.VisualStudio.Data Namespace

SetScaleImpl