Construtor PolicyItemsChangedEventArgs

Initializes a new instance of the PolicyItemsChangedEventArgs class.

Namespace:  Microsoft.Windows.Design.Policies
Assembly:  Microsoft.Windows.Design.Interaction (em Microsoft.Windows.Design.Interaction.dll)

Sintaxe

'Declaração
Public Sub New ( _
    policy As ItemPolicy, _
    itemsAdded As IEnumerable(Of ModelItem), _
    itemsRemoved As IEnumerable(Of ModelItem) _
)
public PolicyItemsChangedEventArgs(
    ItemPolicy policy,
    IEnumerable<ModelItem> itemsAdded,
    IEnumerable<ModelItem> itemsRemoved
)
public:
PolicyItemsChangedEventArgs(
    ItemPolicy^ policy, 
    IEnumerable<ModelItem^>^ itemsAdded, 
    IEnumerable<ModelItem^>^ itemsRemoved
)
new : 
        policy:ItemPolicy * 
        itemsAdded:IEnumerable<ModelItem> * 
        itemsRemoved:IEnumerable<ModelItem> -> PolicyItemsChangedEventArgs
public function PolicyItemsChangedEventArgs(
    policy : ItemPolicy, 
    itemsAdded : IEnumerable<ModelItem>, 
    itemsRemoved : IEnumerable<ModelItem>
)

Parâmetros

Exceções

Exceção Condição
ArgumentNullException

policy is nulluma referência nula (Nothing no Visual Basic).

Segurança do .NET Framework

Consulte também

Referência

PolicyItemsChangedEventArgs Classe

Namespace Microsoft.Windows.Design.Policies

ItemPolicy

FeatureProvider

FeatureConnector<TFeatureProviderType>

Outros recursos

Noções básicas sobre extensibilidade Designer WPF