MF_ATTRIBUTES_MATCH_TYPE Enumeration

Specifies how to compare the attributes on two objects.

Syntax

typedef enum _MF_ATTRIBUTES_MATCH_TYPE
{
    MF_ATTRIBUTES_MATCH_OUR_ITEMS = 0,
    MF_ATTRIBUTES_MATCH_THEIR_ITEMS = 1,
    MF_ATTRIBUTES_MATCH_ALL_ITEMS = 2,
    MF_ATTRIBUTES_MATCH_INTERSECTION = 3,
    MF_ATTRIBUTES_MATCH_SMALLER = 4
} MF_ATTRIBUTES_MATCH_TYPE;  

Constants

Constant Description
MF_ATTRIBUTES_MATCH_OUR_ITEMS Check whether all the attributes in pThis exist in pTheirs and have the same data, where pThis is the object whose Compare method is being called and pTheirs is the object given in the pTheirs parameter.
MF_ATTRIBUTES_MATCH_THEIR_ITEMS Check whether all the attributes in pTheirs exist in pThis and have the same data, where pThis is the object whose Compare method is being called and pTheirs is the object given in the pTheirs parameter.
MF_ATTRIBUTES_MATCH_ALL_ITEMS Check whether both objects have identical attributes with the same data.
MF_ATTRIBUTES_MATCH_INTERSECTION Check whether the attributes that exist in both objects have the same data.
MF_ATTRIBUTES_MATCH_SMALLER Find the object with the fewest number of attributes, and check if those attributes exist in the other object and have the same data.

Requirements

Header: Declared in mfobjects.h.