(Inherits from MfAttribute)
Indicates that an enumeration can be treated as a bit field; that is, a set of flags. This attribute is usually added to MfEnum derived classes that require the ability to set flags such as MfNumberStyles. To add this attribute to derived class override the AddAttributes() of MfEnum.
Properties, Methods, Remarks, Example
Name |
Description |
|
Initializes a new instance of the MfFlagsAttribute class. |
Name |
Description |
|
Gets a Singleton instance of derived class. Inherited from MfSingletonBase |
||
Get The TypeCode of the current instance as var string. Inherited from MfAttribute |
Name |
Description |
|
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. Inherited from MfAttribute |
||
Set current Instance to null. Overrides MfSingletonBase.DestroyInstance() |
||
Compares obj to current instance to see if they are the same. Inherited from MfObject. |
||
Gets A hash code for the current MfObject. Inherited from MfObject. |
||
GetInstance() |
Gets the instance of the Singleton MfFlagsAttribute. Overrides MfSingletonBase.GetInstance() |
|
Gets the Type for the for the Class .Inherited from MfObject. |
||
Gets if current instance of object is of the same type. Inherited from MfObject. Inherited from MfObject. |
||
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 MfObject. Inherited from MfObject. |
Sealed Class
; override MfEnum AddAttributes()
AddAttributes() {
this.AddAttribute(MfFlagsAttribute.Instance)
}