Partager via


QueryConditionCollection - Classe

Hiérarchie d’héritage

System.Object
  Microsoft.Office.Server.Search.Query.Rules.OrderedCollectionBase<QueryCondition>
    Microsoft.Office.Server.Search.Query.Rules.QueryConditionCollection

Espace de noms :  Microsoft.Office.Server.Search.Query.Rules
Assembly :  Microsoft.Office.Server.Search (dans Microsoft.Office.Server.Search.dll)

Syntaxe

'Déclaration
<KnownTypeAttribute(GetType(TaxonomyDictionaryCondition))> _
<DataContractAttribute(Namespace := "https://www.microsoft.com/sharepoint/search/KnownTypes/2008/08")> _
<KnownTypeAttribute(GetType(RegularExpressionCondition))> _
<KnownTypeAttribute(GetType(CommonlyClickedPropertyCondition))> _
<KnownTypeAttribute(GetType(KeywordCondition))> _
<KnownTypeAttribute(GetType(PeopleNameCondition))> _
<KnownTypeAttribute(GetType(CommonQueryCondition))> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class QueryConditionCollection _
    Inherits OrderedCollectionBase(Of QueryCondition)
'Utilisation
Dim instance As QueryConditionCollection
[KnownTypeAttribute(typeof(TaxonomyDictionaryCondition))]
[DataContractAttribute(Namespace = "https://www.microsoft.com/sharepoint/search/KnownTypes/2008/08")]
[KnownTypeAttribute(typeof(RegularExpressionCondition))]
[KnownTypeAttribute(typeof(CommonlyClickedPropertyCondition))]
[KnownTypeAttribute(typeof(KeywordCondition))]
[KnownTypeAttribute(typeof(PeopleNameCondition))]
[KnownTypeAttribute(typeof(CommonQueryCondition))]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class QueryConditionCollection : OrderedCollectionBase<QueryCondition>

Cohérence de thread

Tous les membres statique (Partagé dans Visual Basic)s publics de ce type sont thread-safe. Cela n’est pas garanti pour les membres d’instance.

Voir aussi

Référence

QueryConditionCollection - Membres

Microsoft.Office.Server.Search.Query.Rules - Espace de noms