Represents a filter that limits the instances returned to those that meet the comparison operator condition.
命名空间: Microsoft.Office.Server.ApplicationRegistry.Runtime
程序集: Microsoft.SharePoint.Portal (在 microsoft.sharepoint.portal.dll 中)
语法
声明
<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel:=True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _
Public Class ComparisonFilter
Inherits UserInputFilter
用法
Dim instance As ComparisonFilter
[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel=true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel=true)]
public class ComparisonFilter : UserInputFilter
备注
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 ==.
继承层次结构
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
线程安全性
此类型的任何公共静态(在 Visual Basic 中共享)成员是线程安全的。不保证任何实例成员都是线程安全的。
另请参阅
参考
ComparisonFilter 成员
Microsoft.Office.Server.ApplicationRegistry.Runtime 命名空间