EventListener EventListener EventListener Constructor

定義

建立 EventListener 類別的新執行個體。Creates a new instance of the EventListener class.

public:
 EventListener();
public EventListener ();
Public Sub New ()

備註

建立新的實例時,會停用所有事件。All events are disabled when a new instance is created. EnableEvents使用方法來啟用事件。Use the EnableEvents methods to enable events.

適用於