GlobalScope.IExpando.AddMethod(String, Delegate) 메서드

정의

지정된 메서드를 전역 범위에 추가합니다. JScript에서는 이 메서드가 구현되지 않습니다.

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

 virtual System::Reflection::MethodInfo ^ System.Runtime.InteropServices.Expando.IExpando.AddMethod(System::String ^ name, Delegate ^ method) = System::Runtime::InteropServices::Expando::IExpando::AddMethod;
System.Reflection.MethodInfo IExpando.AddMethod (string name, Delegate method);
abstract member System.Runtime.InteropServices.Expando.IExpando.AddMethod : string * Delegate -> System.Reflection.MethodInfo
override this.System.Runtime.InteropServices.Expando.IExpando.AddMethod : string * Delegate -> System.Reflection.MethodInfo
Function AddMethod (name As String, method As Delegate) As MethodInfo Implements IExpando.AddMethod

매개 변수

name
String

추가할 메서드의 이름입니다.

method
Delegate

메서드의 대리자입니다.

반환

MethodInfo

모든 경우 null입니다.

구현

적용 대상

추가 정보