Compartilhar via


ContextConditionCollection class

Inheritance hierarchy

System.Object
  Microsoft.Office.Server.Search.Query.Rules.OrderedCollectionBase<ContextCondition>
    Microsoft.Office.Server.Search.Query.Rules.ContextConditionCollection

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

Syntax

'Declaração
<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)
'Uso
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>

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.

Ver também

Referência

ContextConditionCollection members

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