共用方式為


PropertyChanged 事件

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Event PropertyChanged As PropertyChangedEventHandler
'用途
Dim instance As SqlSmoObject
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 支援事件的使用,但不支援新事件的宣告。

實作

INotifyPropertyChanged. . :: . .PropertyChanged