DecimalConstantAttribute Constructor

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)

public DecimalConstantAttribute(
	byte scale,
	byte sign,
	uint hi,
	uint mid,
	uint low


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.
Type: System.Byte
A value of 0 indicates a positive value, and a value of 1 indicates a negative value.
Type: System.UInt32
The high 32 bits of the 96-bit Value.
Type: System.UInt32
The middle 32 bits of the 96-bit Value.
Type: System.UInt32
The low 32 bits of the 96-bit Value.


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

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions