Constructor()

Namespace ›› System ›› MfUnicodeCategory ›› Methods ››
Parent Previous Next

Constructor()

OutputVar := new MfUnicodeCategory()
OutputVar := new MfUnicodeCategory(num)
OutputVar := new MfUnicodeCategory(instanceEnum)
OutputVar := new MfUnicodeCategory(enumItem)

Constructor()

Creates a new instance of MfUnicodeCategory class and set initial value to the value of UppercaseLetter.

Constructor(num)

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

Parameters

num

An integer value representing an Enumeration Value of MfUnicodeCategory.

Example

MyEnum := new MfUnicodeCategory(4) ; OtherLetter

Constructor(instanceEnum)

Creates a new instance of MfUnicodeCategory class an set the intial value to the value of instanceEnum.

Parameters

instanceEnum

an instance of MfUnicodeCategory whose Value is used to construct this instance.

Example

MyEnum := new MfUnicodeCategory() ; create instance with default value
MyEnum.Value := MfUnicodeCategory.Instance.SpacingCombiningMark.Value
MfE := new MfUnicodeCategory(MyEnum) ; create a new instance and sets it value to the value of MyEnum

Constructor(enumItem)

Creates a new instance of MfUnicodeCategory and set its value enumItem value.

Parameters

enumItem

MfEnum.EnumItem value must Enumeration of MfUnicodeCategory

Example

MyEnum := new MfUnicodeCategory(MfUnicodeCategory.Instance.SpacingCombiningMark)

Throws

Throws MfNotSupportedException if this sealed class is extended or inherited.
Throws MfArgumentException if arguments are not correct.