DecimalConstantAttribute Konstruktoren

Definition

Initialisiert eine neue Instanz der DecimalConstantAttribute-Klasse.

Überlädt

Name Beschreibung
DecimalConstantAttribute(Byte, Byte, Int32, Int32, Int32)

Initialisiert eine neue Instanz der DecimalConstantAttribute Klasse mit den angegebenen ganzzahligen Vorzeichenwerten.

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

Initialisiert eine neue Instanz der DecimalConstantAttribute Klasse mit den angegebenen ganzzahligen Werten ohne Vorzeichen.

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

Initialisiert eine neue Instanz der DecimalConstantAttribute Klasse mit den angegebenen ganzzahligen Vorzeichenwerten.

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)

Parameter

scale
Byte

Die Potenz von 10 Skalierungsfaktor, der die Anzahl der Ziffern rechts vom Dezimalkomma angibt. Gültige Werte sind 0 bis einschließlich 28.

sign
Byte

Ein Wert von 0 gibt einen positiven Wert an, und ein Wert von 1 gibt einen negativen Wert an.

hi
Int32

Die hohen 32 Bits der 96-Bit-Version Value.

mid
Int32

Die mittleren 32 Bits der 96-Bit Value- .

low
Int32

Die niedrigen 32 Bits der 96-Bit Value- .

Gilt für:

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

Wichtig

Diese API ist nicht CLS-kompatibel.

Initialisiert eine neue Instanz der DecimalConstantAttribute Klasse mit den angegebenen ganzzahligen Werten ohne Vorzeichen.

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)

Parameter

scale
Byte

Die Potenz von 10 Skalierungsfaktor, der die Anzahl der Ziffern rechts vom Dezimalkomma angibt. Gültige Werte sind 0 bis einschließlich 28.

sign
Byte

Ein Wert von 0 gibt einen positiven Wert an, und ein Wert von 1 gibt einen negativen Wert an.

hi
UInt32

Die hohen 32 Bits der 96-Bit-Version Value.

mid
UInt32

Die mittleren 32 Bits der 96-Bit Value- .

low
UInt32

Die niedrigen 32 Bits der 96-Bit Value- .

Attribute

Ausnahmen

Gilt für: