Partager via


ContextConditionCollection - Classe

Hiérarchie d’héritage

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

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(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)
'Utilisation
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>

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

ContextConditionCollection - Membres

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