TypeInfo.GetDeclaredEvent(String) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
現在の型によって宣言された指定されたイベントを表すオブジェクトを返します。
public:
virtual System::Reflection::EventInfo ^ GetDeclaredEvent(System::String ^ name);
public virtual System.Reflection.EventInfo GetDeclaredEvent(string name);
abstract member GetDeclaredEvent : string -> System.Reflection.EventInfo
override this.GetDeclaredEvent : string -> System.Reflection.EventInfo
Public Overridable Function GetDeclaredEvent (name As String) As EventInfo
パラメーター
- name
- String
イベントの名前。
返品
指定したイベントを表すオブジェクト (見つかった場合)。それ以外の場合は null。
例外
name は nullです。