DecimalConstantAttribute Konstruktoren

Definition

Initialisiert eine neue Instanz der DecimalConstantAttribute-Klasse.

Überlädt

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

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

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)

Quelle:
DecimalConstantAttribute.cs
Quelle:
DecimalConstantAttribute.cs
Quelle:
DecimalConstantAttribute.cs

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

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

Der Skalierungsfaktor mit der Zehnerpotenz, der die Anzahl der Ziffern rechts neben dem Dezimaltrennzeichen angibt. Gültige Werte sind 0 bis einschließlich 28.

sign
Byte

Der Wert 0 gibt einen positiven, der Wert 1 einen negativen Wert an.

hi
Int32

Die oberen 32 Bits des 96-Bit-Value.

mid
Int32

Die mittleren 32 Bits des 96-Bit-Value.

low
Int32

Die unteren 32 Bits des 96-Bit-Value.

Gilt für:

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

Quelle:
DecimalConstantAttribute.cs
Quelle:
DecimalConstantAttribute.cs
Quelle:
DecimalConstantAttribute.cs

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

Der Skalierungsfaktor mit der Zehnerpotenz, der die Anzahl der Ziffern rechts neben dem Dezimaltrennzeichen angibt. Gültige Werte sind 0 bis einschließlich 28.

sign
Byte

Der Wert 0 gibt einen positiven, der Wert 1 einen negativen Wert an.

hi
UInt32

Die oberen 32 Bits des 96-Bit-Value.

mid
UInt32

Die mittleren 32 Bits des 96-Bit-Value.

low
UInt32

Die unteren 32 Bits des 96-Bit-Value.

Attribute

Ausnahmen

Gilt für: