Filter
The CMetaFilterInfo class contains an attribute called Filter which is an object of the CMetaProperty class:
CMetaProperty Filter
The Filter object contains the:
The id is set using the CMetaProperty::SetPropertyID function. The name is set using the CMetaProperty::SetName function. For example:
CMetaFilterInfo filterInfo;
filterInfo.Initialize();
filterInfo.Filter.SetPropertyID(3);
The search value is set using a CMetaProperty::Setxxx function such as SetString, SetInt, SetShort, SetBinary, and so on. For example:
filterInfo.Filter.SetString(_TEXT("FOO"));
To search on unique properties of a class, you must specify the relative property id or property name specified for the Property Description in the Model.