Applied to a business class' string property that stores a filter criterion for a business object collection.
[AttributeUsage(AttributeTargets.Property)] public class CriteriaOptionsAttribute : Attribute
<AttributeUsage(AttributeTargets.Property)> Public Class CriteriaOptionsAttribute Inherits Attribute Implements
The type of the collection's objects must be specified by the class' Type property, whose name must be passed as the attribute's parameter.
You can use one of the following Property Editors to display a string property that uses this attribute. These Property Editors allow end-users to construct filter criteria via a special Filter Builder:
This attribute sets the PropertyEditorType property of the Application Model's IModelMember node to the following values:
You can specify another value via the Model Editor.
For an example of this attribute in use, refer to the How to: Use Criteria Property Editors topic.