DecimalConstantAttribute Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.
- Attributes
Exceptions
scale
> 28.