Share via


DataParameter.Precision Property

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

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

Syntax

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

value = instance.Precision

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

Property Value

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

Remarks

Setting this property to zero causes the default precision to be used.

.NET Framework Security

See Also

Reference

DataParameter Class

DataParameter Members

Microsoft.VisualStudio.Data Namespace

SetPrecisionImpl