JSObject.IExpando.AddMethod(String, Delegate) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
개체에 지정된 메서드를 추가합니다. 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
메서드에 대한 대리자입니다.
반품
모든 경우에 null입니다.