QueryConditionCollection 类
继承层次结构
System.Object
Microsoft.Office.Server.Search.Query.Rules.OrderedCollectionBase<QueryCondition>
Microsoft.Office.Server.Search.Query.Rules.QueryConditionCollection
命名空间: Microsoft.Office.Server.Search.Query.Rules
程序集: Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)
语法
声明
<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)
用法
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>
线程安全性
该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。