Partager via


ComparisonFilter, classe (Microsoft.Office.Server.ApplicationRegistry.Runtime)

Represents a filter that limits the instances returned to those that meet the comparison operator condition.

Espace de noms : Microsoft.Office.Server.ApplicationRegistry.Runtime
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)

Syntaxe

'Déclaration
<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel:=True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _
Public Class ComparisonFilter
    Inherits UserInputFilter
'Utilisation
Dim instance As ComparisonFilter
[SerializableAttribute] 
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel=true)] 
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel=true)] 
public class ComparisonFilter : UserInputFilter

Remarques

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 ==.

Hiérarchie d'héritage

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

Sécurité des threads

Les membres statiques publics de ce type (Shared en Visual Basic) sont sécurisés au niveau des threads. Il n'est pas garanti que les membres d'instance soient sécurisés au niveau des threads.

Voir aussi

Référence

Membres ComparisonFilter
Microsoft.Office.Server.ApplicationRegistry.Runtime, espace de noms