ItemPolicy.PolicyItemsChanged Event
Occurs when the policy changes.
Namespace: Microsoft.Windows.Design.Policies
Assembly: Microsoft.Windows.Design.Extensibility (in Microsoft.Windows.Design.Extensibility.dll)
Syntax
'Declaration
Public Event PolicyItemsChanged As EventHandler(Of PolicyItemsChangedEventArgs)
'Usage
Dim instance As ItemPolicy
Dim handler As EventHandler(Of PolicyItemsChangedEventArgs)
AddHandler instance.PolicyItemsChanged, handler
public event EventHandler<PolicyItemsChangedEventArgs> PolicyItemsChanged
public:
event EventHandler<PolicyItemsChangedEventArgs^>^ PolicyItemsChanged {
void add (EventHandler<PolicyItemsChangedEventArgs^>^ value);
void remove (EventHandler<PolicyItemsChangedEventArgs^>^ value);
}
JScript does not support events.
Remarks
The policy can raise this event itself by calling the OnPolicyItemsChanged method.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Policies Namespace