StartupEventHandler 代理人
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
代表處理 My.Application.Startup 事件的方法。
public delegate void StartupEventHandler(System::Object ^ sender, StartupEventArgs ^ e);
public delegate void StartupEventHandler(object sender, StartupEventArgs e);
type StartupEventHandler = delegate of obj * StartupEventArgs -> unit
Public Delegate Sub StartupEventHandler(sender As Object, e As StartupEventArgs)
參數
- sender
- Object
事件的 來源。
一個 StartupEventArgs 包含事件資料的物件。
範例
WindowsFormsApplicationBase.Startup
備註
在 Visual Basic 中,你不需要明確使用這個代理。 如需詳細資訊,請參閱Startup。
擴充方法
| 名稱 | Description |
|---|---|
| GetMethodInfo(Delegate) |
取得一個代表指定代理所代表方法的物件。 |