Événement PropertyChanged
CLS-compliant event for property changes.
Espace de noms : Microsoft.SqlServer.Management.Sdk.Sfc
Assembly : Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntaxe
'Déclaration
Public Event PropertyChanged As PropertyChangedEventHandler
'Utilisation
Dim instance As SfcInstance
Dim handler As PropertyChangedEventHandler
AddHandler instance.PropertyChanged, handler
public event PropertyChangedEventHandler PropertyChanged
public:
virtual event PropertyChangedEventHandler^ PropertyChanged {
void add (PropertyChangedEventHandler^ value);
void remove (PropertyChangedEventHandler^ value);
}
abstract PropertyChanged : IEvent<PropertyChangedEventHandler,
PropertyChangedEventArgs>
override PropertyChanged : IEvent<PropertyChangedEventHandler,
PropertyChangedEventArgs>
JScript prend en charge l'utilisation d'événements, mais pas la déclaration de nouveaux événements.