DecimalConstantAttribute Constructor (Byte, Byte, UInt32, UInt32, UInt32)
Initializes a new instance of the DecimalConstantAttribute class with the specified unsigned integer values.
This API is not CLS-compliant.
Assembly: mscorlib (in mscorlib.dll)
public: [CLSCompliantAttribute(false)] DecimalConstantAttribute( unsigned char scale, unsigned char sign, unsigned int hi, unsigned int mid, unsigned int low )
Parameters
- scale
-
Type:
System::Byte
The power of 10 scaling factor that indicates the number of digits to the right of the decimal point. Valid values are 0 through 28 inclusive.
- sign
-
Type:
System::Byte
A value of 0 indicates a positive value, and a value of 1 indicates a negative value.
- hi
-
Type:
System::UInt32
The high 32 bits of the 96-bit Value.
- mid
-
Type:
System::UInt32
The middle 32 bits of the 96-bit Value.
- low
-
Type:
System::UInt32
The low 32 bits of the 96-bit Value.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | scale > 28. |
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1