Edit

Share via


DecimalConstantAttribute Constructors

Definition

Initializes a new instance of the DecimalConstantAttribute class.

Overloads

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

Initializes a new instance of the DecimalConstantAttribute class with the specified signed integer values.

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

Initializes a new instance of the DecimalConstantAttribute class with the specified unsigned integer values.

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

Source:
DecimalConstantAttribute.cs
Source:
DecimalConstantAttribute.cs
Source:
DecimalConstantAttribute.cs

Initializes a new instance of the DecimalConstantAttribute class with the specified signed integer values.

public:
 DecimalConstantAttribute(System::Byte scale, System::Byte sign, int hi, int mid, int low);
public DecimalConstantAttribute (byte scale, byte sign, int hi, int mid, int low);
new System.Runtime.CompilerServices.DecimalConstantAttribute : byte * byte * int * int * int -> System.Runtime.CompilerServices.DecimalConstantAttribute
Public Sub New (scale As Byte, sign As Byte, hi As Integer, mid As Integer, low As Integer)

Parameters

scale
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
Byte

A value of 0 indicates a positive value, and a value of 1 indicates a negative value.

hi
Int32

The high 32 bits of the 96-bit Value.

mid
Int32

The middle 32 bits of the 96-bit Value.

low
Int32

The low 32 bits of the 96-bit Value.

Applies to

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

Source:
DecimalConstantAttribute.cs
Source:
DecimalConstantAttribute.cs
Source:
DecimalConstantAttribute.cs

Important

This API is not CLS-compliant.

Initializes a new instance of the DecimalConstantAttribute class with the specified unsigned integer values.

public:
 DecimalConstantAttribute(System::Byte scale, System::Byte sign, System::UInt32 hi, System::UInt32 mid, System::UInt32 low);
[System.CLSCompliant(false)]
public DecimalConstantAttribute (byte scale, byte sign, uint hi, uint mid, uint low);
public DecimalConstantAttribute (byte scale, byte sign, uint hi, uint mid, uint low);
[<System.CLSCompliant(false)>]
new System.Runtime.CompilerServices.DecimalConstantAttribute : byte * byte * uint32 * uint32 * uint32 -> System.Runtime.CompilerServices.DecimalConstantAttribute
new System.Runtime.CompilerServices.DecimalConstantAttribute : byte * byte * uint32 * uint32 * uint32 -> System.Runtime.CompilerServices.DecimalConstantAttribute
Public Sub New (scale As Byte, sign As Byte, hi As UInteger, mid As UInteger, low As UInteger)

Parameters

scale
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
Byte

A value of 0 indicates a positive value, and a value of 1 indicates a negative value.

hi
UInt32

The high 32 bits of the 96-bit Value.

mid
UInt32

The middle 32 bits of the 96-bit Value.

low
UInt32

The low 32 bits of the 96-bit Value.

Attributes

Exceptions

Applies to