[This is preliminary documentation and is subject to change.]
This is a multi value struct generated from the member
quantityDataClass in the Persistate system definition
file.
Declaration Syntax
C# |
public struct ItemQuantity : IMultiValue
Members
All Members | Constructors | Methods | Properties | Fields | |
Icon | Member | Description |
---|---|---|
ItemQuantity(Int32) | Creates a new ItemQuantity from an integer value. | |
_undefined_ | This is the default ItemQuantity value. | |
Equals(Object) | Performs an equality comparison with another object. (Overrides ValueType.Equals(Object).) | |
ExplicitNarrowingExplicitExplicitExplicit(ItemQuantity to String) | Explicit conversion from ItemQuantity to string. | |
Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
GetHashCode()()()() | Creates a hash code for the ItemQuantity. (Overrides ValueType.GetHashCode()()()().) | |
GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
ImplicitWideningImplicitImplicitImplicit(ItemQuantity to Int32) | Implicit conversion from ItemQuantity to int. | |
ImplicitWideningImplicitImplicitImplicit(Int32 to ItemQuantity) | Implicit conversion from int to ItemQuantity. | |
ImplicitWideningImplicitImplicitImplicit(String to ItemQuantity) | Implicit conversion from string to ItemQuantity. | |
IsCollection | Returns a value indicating whether this quantity represents a
collection. True for Many and Several only. | |
IsCombinable | Indicates whether ItemQuantity values can be combined. | |
Many | This is the value for many. | |
MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
None | This is the value for none. | |
One | This is the value for one. | |
ordinal | Contains the value of the ItemQuantity. | |
Ordinal | Gets the integer ordinal value of this ItemQuantity. | |
Parse(String) | Parses a string containing a textual representation of an ItemQuantity. | |
Selected | This is the value for selected. | |
Several | This is the value for several. | |
sourcePairs | This array contains one source pair for each ItemQuantity value. | |
SourcePairs | Gets the array of ISourcePairs holding ordinal and text values. | |
TopValue | This is the value for the top value. | |
ToString()()()() | Creates a textual representation of the ItemQuantity. (Overrides ValueType.ToString()()()().) |
Remarks
This multi-value provides an enumeration of the allowed quantities in
member definitions in Persistate definition files.