(Inherits from MfEnum)
Determines the styles permitted in numeric string arguments that are passed to the Parse and TryParse methods of the integral and floating-point numeric types.
This enumeration has a MfFlagsAttribute MfAttribute that allows a bitwise combination of its member values.
MfNumberStyles is an MfEnum style class.
MfNumberStyles is a Sealed Class and cannot be inherited.
Properties, Enumerations, Methods, Remarks
Name |
Description |
|
Creates a new instance of MfNumberStyles class and set initial value to the value of None. |
||
Creates a new instance of MfNumberStyles class and sets initial value to value of num. |
||
Creates a new instance of MfNumberStyles class an set the initial value to the value of instanceEnum. |
||
Creates a new instance of MfNumberStyles and set its value enumItem value(s). |
Name |
Description |
|
Indicates that the numeric string can contain a currency symbol. |
||
Indicates that the numeric string can have a decimal point. |
||
Indicates that the numeric string can be in exponential notation. |
||
Indicates that the numeric string represents a hexadecimal value. Valid hexadecimal values include the numeric digits 0-9 and the hexadecimal digits A-F and a-f. |
||
Indicates that the numeric string can have a leading sign. |
||
Indicates that leading white-space characters can be present in the parsed string |
||
Indicates that the numeric string can have one pair of parentheses enclosing the number. The parentheses indicate that the string to be parsed represents a negative number. |
||
Indicates that the numeric string can have group separators, such as symbols that separate hundreds from thousands. |
||
Indicates that the numeric string can have a trailing sign. |
||
Indicates that trailing white-space characters can be present in the parsed string. |
||
Indicates that all styles except AllowHexSpecifier are used. This is a composite number style. |
||
Indicates that all styles except AllowExponent and AllowHexSpecifier are used. This is a composite number style. |
||
Indicates that the AllowLeadingWhite , AllowTrailingWhite , AllowLeadingSign , AllowDecimalPoint and AllowExponent styles are used. This is a composite number style. |
||
Indicates that the AllowLeadingWhite , AllowTrailingWhite , and AllowHexSpecifier styles are used. This is a composite number style. |
||
Indicates that the AllowLeadingWhite , AllowTrailingWhite and AllowLeadingSign styles are used. This is a composite number style. |
||
Indicates that no style elements, such as leading or trailing white space, thousands separators, or a decimal separator, can be present in the parsed string. The string to be parsed must consist of integral decimal digits only. |
||
Indicates that the AllowLeadingWhite , AllowTrailingWhite , AllowLeadingSign , AllowTrailingSign , AllowDecimalPoint , and AllowThousands styles are used. This is a composite number style. |
Name |
Description |
|
Gets the Singleton instance of the class. Inherited from MfEnum. |
||
Gets a var value representing the Maximum value of all the EnumItem instances in an MfEnum instance as a var containing integer. Inherited from MfEnum. |
||
Gets or sets the value associated with the derived MfEnum class. Inherited from MfEnum. |
Name |
Description |
|
Compares the current instance with another object derived from MfEnum or MfEnum.EnumItem Instance and returns an integer that indicates whether the current instance Value precedes, follows, or occurs in the same position in the sort order as the other object. Inherited from MfEnum. |
||
Set current instance of MfEnum derived class to null. Inherited from MfEnum. |
||
Compares objA against current MfEnum instance to see if they have the same Value. Inherited from MfEnum. |
||
Gets an MfAttribute of the class. Inherited from MfObject. |
||
Gets a MfGenericList of MfAttribute that Contains the attributes for the current class instance. Inherited from MfObject. |
||
Gets A hash code for the current MfEnum. Overrides MfObject.GetHashCode(). Inherited from MfEnum. |
||
Gets the instance for the MfNumberStyles class. |
||
Gets the zero-based index value of the position of MfAttribute within the instance of the class. Inherited from MfObject. |
||
Gets a of MfGenericList of MfString containing all enumeration names of derived MfEnum class. Inherited from MfEnum. |
||
Gets the Type for the for the Class .Inherited from MfObject. |
||
Get an enumeration value of MfTypeCode the represents MfEnum Type Code. Inherited from MfEnum. |
||
Gets a MfGenericList of MfInteger containing values of derived MfEnum class. Inherited from MfEnum. |
||
Gets if the current instance of class derived from MfSystemException has MfAttribute. Inherited from MfObject. |
||
Gets if current instance of object is of the same type. Inherited from MfEnum. |
||
Get if the current class is an instance. Inherited from MfObject. |
||
Creates a shallow copy of the current MfObject instance. Inherited from MfObject. |
||
Gets a string representation of the object. Inherited from MfEnum. |
Sealed Class
MfEnum.Parse(), MfEnum.ParseItem(), MfEnum.TryParse(), MfEnum.TryParseItem(), MfEnum.ToObject()