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

DecimalConstantAttribute Constructor (Byte, Byte, Int32, Int32, Int32)

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 signed integer values.

Namespace:  System.Runtime.CompilerServices
Assembly:  mscorlib (in mscorlib.dll)

public DecimalConstantAttribute(
	byte scale,
	byte sign,
	int hi,
	int mid,
	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.Int32
The high 32 bits of the 96-bit Value.
mid
Type: System.Int32
The middle 32 bits of the 96-bit Value.
low
Type: System.Int32
The low 32 bits of the 96-bit Value.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft