共用方式為


SettingChangedEventHandler 委派

適用於版本2

代表 SettingChanged 事件處理常式。

命名空間:  Microsoft.WebMatrix.Extensibility.Editor
組件:  Microsoft.WebMatrix.Extensibility (在 Microsoft.WebMatrix.Extensibility.dll 中)

語法

'宣告
Public Delegate Sub SettingChangedEventHandler ( _
    sender As Object, _
    e As SettingChangedEventArgs _
)
'用途
Dim instance As New SettingChangedEventHandler(AddressOf HandlerMethod)
public delegate void SettingChangedEventHandler(
    Object sender,
    SettingChangedEventArgs e
)
public delegate void SettingChangedEventHandler(
    Object^ sender, 
    SettingChangedEventArgs^ e
)
type SettingChangedEventHandler = 
    delegate of  
        sender:Object * 
        e:SettingChangedEventArgs -> unit
JScript supports the use of delegates, but not the declaration of new ones.

參數

請參閱

參考

Microsoft.WebMatrix.Extensibility.Editor 命名空間