ComparisonFilter Class
Represents a filter that limits the instances returned to those that meet the comparison operator condition.
Inheritance Hierarchy
System.Object
Microsoft.Office.Server.ApplicationRegistry.Runtime.FilterBase
Microsoft.Office.Server.ApplicationRegistry.Runtime.UserInputFilter
Microsoft.Office.Server.ApplicationRegistry.Runtime.ComparisonFilter
Microsoft.Office.Server.ApplicationRegistry.Runtime.WildcardFilter
Namespace: Microsoft.Office.Server.ApplicationRegistry.Runtime
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class ComparisonFilter _
Inherits UserInputFilter
'Usage
Dim instance As ComparisonFilter
[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class ComparisonFilter : UserInputFilter
Remarks
Note that this is just metadata. The Business Data Catalog does not enforce the condition in anyway; the metadata just describes what the backend API that you are modeling is supposed to do. If the API returns items where price > 33 and you use an == operator, the Business Data Catalog will still return items where price > 33 even though the UI will display ==.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.Office.Server.ApplicationRegistry.Runtime Namespace