ContextConditionCollection 类
继承层次结构
System.Object
Microsoft.Office.Server.Search.Query.Rules.OrderedCollectionBase<ContextCondition>
Microsoft.Office.Server.Search.Query.Rules.ContextConditionCollection
命名空间: Microsoft.Office.Server.Search.Query.Rules
程序集: Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)
语法
声明
<KnownTypeAttribute(GetType(UserSegmentContextCondition))> _
<KnownTypeAttribute(GetType(GenericContextCondition))> _
<KnownTypeAttribute(GetType(SourceContextCondition))> _
<DataContractAttribute(Namespace := "https://www.microsoft.com/sharepoint/search/KnownTypes/2008/08")> _
<KnownTypeAttribute(GetType(CategoryContextCondition))> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class ContextConditionCollection _
Inherits OrderedCollectionBase(Of ContextCondition)
用法
Dim instance As ContextConditionCollection
[KnownTypeAttribute(typeof(UserSegmentContextCondition))]
[KnownTypeAttribute(typeof(GenericContextCondition))]
[KnownTypeAttribute(typeof(SourceContextCondition))]
[DataContractAttribute(Namespace = "https://www.microsoft.com/sharepoint/search/KnownTypes/2008/08")]
[KnownTypeAttribute(typeof(CategoryContextCondition))]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class ContextConditionCollection : OrderedCollectionBase<ContextCondition>
线程安全性
该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。