Windows Dev Center

Qualifier Flavors

Qualifier flavors provide more information about a qualifier, such as whether a derived class or instance can override the qualifier's original value.

Qualifier flavors may be added to the top of the MOF file, using the following syntax, causing them to be applied throughout the definition. For example:

Qualifier Description : ToSubClass Amended;

The ToSubClass and Amended flavors applies to all the Description qualifiers in the MOF.

The following table lists the qualifier flavors.

Qualifier FlavorMeaning
AmendedThe qualifier is not required in the basic class definition and can be moved to the amendment to be localized.
DisableOverrideThe qualifier cannot be overridden in a derived class or instance. Note that being able to override a propagated qualifier is the default.
EnableOverrideWhen propagated to a derived class or instance, the value of the qualifier can be overridden. Setting EnableOverride is optional because being able to override the qualifier value is the default functionality for propagated qualifiers.
NotToInstanceThe qualifier is not propagated to class instances.
NotToSubClassThe qualifier is not propagated to derived classes.
RestrictedThe qualifier is not propagated to instances or derived classes.
ToInstanceThe qualifier is propagated to instances.
ToSubClassThe qualifier is propagated to derived classes. This flavor is only appropriate for qualifiers defined for a class and cannot be attached to a qualifier describing a class instance.

 

 

 

Show:
© 2015 Microsoft