[This is preliminary documentation and is subject to change.]
Creates a new ItemQuantity from an integer value.
| C# |
public ItemQuantity( int ordinal )
- ordinal (Int32)
- The ordinal value for the new ItemQuantity.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | Thrown if the ordinal is negative or greater than the TopValue. |