RoutedEventArgs.OnSetSource(Object) メソッド
定義
protected:
virtual void OnSetSource(System::Object ^ source);
protected virtual void OnSetSource (object source);
abstract member OnSetSource : obj -> unit
override this.OnSetSource : obj -> unit
Protected Overridable Sub OnSetSource (source As Object)
パラメーター
注意 (継承者)
報告されたイベントソースをプログラムによって変更すると、イベント内の型固有のデータを更新する必要が生じる可能性があります。Changing the reported source of an event programmatically can potentially require updating the type-specific data within the event. このため、OnSetSource(Object) メソッドは保護された仮想であり、RoutedEventArgsのサブクラスによってオーバーライドされることを意図しています。For this reason, the OnSetSource(Object) method is protected virtual and is intended to be overridden by subclasses of RoutedEventArgs.
このメソッドには既定の実装がありません。This method has no default implementation.