SqlDecimal Constructor (Byte, Byte, Boolean, Int32, Int32, Int32, Int32)
Initializes a new instance of the SqlDecimal structure using the supplied parameters.
Assembly: System.Data (in System.Data.dll)
public: SqlDecimal( unsigned char bPrecision, unsigned char bScale, bool fPositive, int data1, int data2, int data3, int data4 )
Parameters
- bPrecision
-
Type:
System::Byte
The maximum number of digits that can be used to represent the Value property of the new SqlDecimal structure.
- bScale
-
Type:
System::Byte
The number of decimal places to which the Value property will be resolved for the new SqlDecimal structure.
- fPositive
-
Type:
System::Boolean
A Boolean value that indicates whether the new SqlDecimal structure represents a positive or negative number.
- data1
-
Type:
System::Int32
An 32-bit unsigned integer which will be combined with data2, data3, and data4 to make up the 128-bit unsigned integer that represents the new SqlDecimal structures value.
- data2
-
Type:
System::Int32
An 32-bit unsigned integer which will be combined with data1, data3, and data4 to make up the 128-bit unsigned integer that represents the new SqlDecimal structures value.
- data3
-
Type:
System::Int32
An 32-bit unsigned integer which will be combined with data1, data2, and data4 to make up the 128-bit unsigned integer that represents the new SqlDecimal structures value.
- data4
-
Type:
System::Int32
An 32-bit unsigned integer which will be combined with data1, data2, and data3 to make up the 128-bit unsigned integer that represents the new SqlDecimal structures value.
Available since 1.1