FileListBox.OnPatternChange(EventArgs) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
引發 PatternChange 事件。
protected:
virtual void OnPatternChange(EventArgs ^ e);
protected virtual void OnPatternChange(EventArgs e);
abstract member OnPatternChange : EventArgs -> unit
override this.OnPatternChange : EventArgs -> unit
Protected Overridable Sub OnPatternChange (e As EventArgs)
參數
備註
發起事件會透過代理呼叫事件處理者。 欲了解更多資訊,請參閱 處理與提升事件。
此 OnPatternChange 方法也使衍生類別能在不附加代理的情況下處理事件。 這是在衍生類別中處理事件的首選技術。
Note
Microsoft.VisualBasic.Compatibility.VB6 命名空間中的函式與物件,供工具從 Visual Basic 6.0 升級至 Visual Basic 2008 使用。 大多數情況下,這些函式和物件會重複你在 .NET Framework 中其他命名空間中能找到的功能。 只有當 Visual Basic 6.0 的程式碼模型與 .NET Framework 實作有顯著差異時,才需要使用這些工具。