TypeInfo.GetDeclaredEvent(String) 메서드

정의

현재 형식으로 선언된 지정된 이벤트를 나타내는 개체를 반환합니다.

public:
 virtual System::Reflection::EventInfo ^ GetDeclaredEvent(System::String ^ name);
public virtual System.Reflection.EventInfo GetDeclaredEvent (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

이벤트의 이름입니다.

반환

EventInfo

해당 항목이 있으면 지정된 이벤트를 나타내는 개체이며, 그렇지 않으면 null입니다.

예외

name이(가) null인 경우

적용 대상