MfStringComparison

Namespace ›› System ››
Parent Previous Next

MfStringComparison Class

(Inherits from MfEnum)

Specifies the case, and sort rules to be used by certain overloads of the MfString.Compare MfString.Equals methods.
MfStringComparison is an MfEnum style class.
MfStringComparison is a Sealed Class and cannot be inherited.

Links

Properties, Enumerations, Methods, Remarks

Constructors


Name

Description

Constructor()

Creates a new instance of MfStringComparison class and set initial value to zero.

Constructor(num)

Creates a new instance of MfStringComparison class and sets initial value to value of num.

Constructor(instanceEnum)

Creates a new instance of MfStringComparison class an set the initial value to the value of instanceEnum.

Constructor(enumItem)

Creates a new instance of MfStringComparison class and set its value to the MfEnum.EnumItem instance value.

Enumerations


Name

Description


Ordinal

Compare strings using ordinal sort rules.


OrdinalIgnoreCase

Compare strings using ordinal sort rules and ignoring the case of the strings being compared.

Properties


Name

Description

Instance

Gets the Singleton instance of the class. Inherited from MfEnum.

MaxValue

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.

Value

Gets or sets the value associated with the derived MfEnum class. Inherited from MfEnum.

Methods


Name

Description

CompareTo(obj)

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.

DestroyInstance()

Set current instance of class to null. Overrides MfEnum.DestroyInstance()

Equals(objA)

Compares objA against current MfEnum instance to see if they have the same Value.  Inherited from MfEnum.

GetHashCode()

Gets A hash code for the current MfEnum. Overrides MfObject.GetHashCode(). Inherited from MfEnum.

GetInstance()

Gets the instance for the MfDigitShapes class.

GetNames()

Gets a of MfGenericList of MfString containing all enumeration names of derived MfEnum class. Inherited from MfEnum.

GetType()

Gets the Type for the for the Class .Inherited from MfObject.

GetTypeCode()

Get an enumeration value of MfTypeCode the represents MfEnum Type Code. Inherited from MfEnum.

GetValues()

Gets a MfGenericList of MfInteger containing values of derived MfEnum class. Inherited from MfEnum.

Is(type[, IncludeEnumItem])

Gets if current instance of object is of the same type. Inherited from MfEnum.

IsInstance()

Get if the current class is an instance. Inherited from MfObject.

MemberwiseClone()

Creates a shallow copy of the current MfObject instance. Inherited from MfObject.

ToString()

Gets a string representation of the object. Inherited from MfEnum.

Remarks

Sealed Class

Related

MfEnum.Parse(), MfEnum.ParseItem(), MfEnum.TryParse(), MfEnum.TryParseItem(), MfEnum.ToObject()