Share via


QueryConditionCollection class

Inheritance hierarchy

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

Namespace:  Microsoft.Office.Server.Search.Query.Rules
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
<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)
'Usage
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>

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

QueryConditionCollection members

Microsoft.Office.Server.Search.Query.Rules namespace