SqlDecimal Constructor (Byte, Byte, Boolean, array<Int32>^)

 

Initializes a new instance of the SqlDecimal structure using the supplied parameters.

Namespace:   System.Data.SqlTypes
Assembly:  System.Data (in System.Data.dll)

public:
SqlDecimal(
	unsigned char bPrecision,
	unsigned char bScale,
	bool fPositive,
	array<int>^ bits
)

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.

bits
Type: array<System::Int32>^

The 128-bit unsigned integer that provides the value of the new SqlDecimal.

.NET Framework
Available since 1.1
Return to top
Show: