DecimalConstantAttribute Constructor
Microsoft Silverlight will reach end of support after October 2021. Learn more.
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Initializes a new instance of the DecimalConstantAttribute class with the specified unsigned integer values.
This API is not CLS-compliant.
Namespace: System.Runtime.CompilerServices
Assembly: mscorlib (in mscorlib.dll)
Syntax
'Declaration
<CLSCompliantAttribute(False)> _
Public Sub New ( _
scale As Byte, _
sign As Byte, _
hi As UInteger, _
mid As UInteger, _
low As UInteger _
)
[CLSCompliantAttribute(false)]
public DecimalConstantAttribute(
byte scale,
byte sign,
uint hi,
uint mid,
uint 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.
Version Information
Silverlight
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
XNA Framework
Supported in: Xbox 360, Windows Phone OS 7.0
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.