TypeInfo.GetDeclaredEvent(String) 메서드

정의

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

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

예외

namenull입니다.

적용 대상