_EventInfo.GetRemoveMethod 메서드

정의

버전에 관계없이 GetRemoveMethod 메서드에 액세스할 수 있는 COM 개체를 제공합니다.

오버로드

GetRemoveMethod(Boolean)

버전에 관계없이 GetRemoveMethod(Boolean) 메서드에 액세스할 수 있는 COM 개체를 제공합니다.

GetRemoveMethod()

버전에 관계없이 GetRemoveMethod() 메서드에 액세스할 수 있는 COM 개체를 제공합니다.

설명

이 메서드는 비관리 코드에서 액세스를 위한 관리 되는 클래스에는 하며 관리 코드에서 호출할 수 없습니다.

GetRemoveMethod 메서드를 이벤트 소스에서 이벤트 처리기 대리자를 제거 하는 데 사용 하는 메서드를 반환 합니다.

GetRemoveMethod(Boolean)

버전에 관계없이 GetRemoveMethod(Boolean) 메서드에 액세스할 수 있는 COM 개체를 제공합니다.

public:
 System::Reflection::MethodInfo ^ GetRemoveMethod(bool nonPublic);
public System.Reflection.MethodInfo GetRemoveMethod (bool nonPublic);
abstract member GetRemoveMethod : bool -> System.Reflection.MethodInfo
Public Function GetRemoveMethod (nonPublic As Boolean) As MethodInfo

매개 변수

nonPublic
Boolean

public이 아닌 메서드를 반환하려면 true를 설정하고, 그렇지 않으면 false를 설정합니다.

반환

MethodInfo

이벤트 처리기 대리자를 이벤트 소스에서 제거하는 데 사용된 메서드를 나타내는 MethodInfo 개체입니다.

설명

이 메서드는 비관리 코드에서 액세스를 위한 관리 되는 클래스에는 하며 관리 코드에서 호출할 수 없습니다.

합니다 GetRemoveMethod 메서드에서 검색 된 MethodInfo 이벤트의 메서드를 제거 하는 것에 대 한 개체 및 public이 아닌 메서드를 반환할지 여부를 지정 합니다.

적용 대상

GetRemoveMethod()

버전에 관계없이 GetRemoveMethod() 메서드에 액세스할 수 있는 COM 개체를 제공합니다.

public:
 System::Reflection::MethodInfo ^ GetRemoveMethod();
public System.Reflection.MethodInfo GetRemoveMethod ();
abstract member GetRemoveMethod : unit -> System.Reflection.MethodInfo
Public Function GetRemoveMethod () As MethodInfo

반환

MethodInfo

이벤트 처리기 대리자를 이벤트 소스에서 제거하는 데 사용된 메서드를 나타내는 MethodInfo 개체입니다.

설명

이 메서드는 비관리 코드에서 액세스를 위한 관리 되는 클래스에는 하며 관리 코드에서 호출할 수 없습니다.

GetRemoveMethod 메서드를 이벤트 소스에서 이벤트 처리기 대리자를 제거 하는 데 사용 하는 메서드를 반환 합니다.

적용 대상