DecimalConstantAttribute Constructor (Byte, Byte, UInt32, UInt32, UInt32)
Collapse the table of content
Expand the table of content

DecimalConstantAttribute Constructor (Byte, Byte, UInt32, UInt32, UInt32)

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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)

[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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft