FileListBox.OnPatternChange(EventArgs) 方法

定义

引发 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)

参数

e
EventArgs

包含事件数据的 A EventArgs

注解

引发事件会通过委托调用事件处理程序。 有关详细信息,请参阅 处理和引发事件

该方法 OnPatternChange 还允许派生类在不附加委托的情况下处理事件。 这是处理派生类中的事件的首选技术。

注释

Microsoft.VisualBasic.Compatibility.VB6 命名空间中的函数和对象由用于从 Visual Basic 6.0 升级到 Visual Basic 2008 的工具使用。 在大多数情况下,这些函数和对象重复了可在 .NET Framework 中的其他命名空间中找到的功能。 仅当 Visual Basic 6.0 代码模型与 .NET Framework 实现明显不同时,它们才是必需的。

适用于

另请参阅