IExpando.AddMethod(String, Delegate) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
리플렉션 개체에 명명된 메서드를 추가합니다.
public:
System::Reflection::MethodInfo ^ AddMethod(System::String ^ name, Delegate ^ method);
public System.Reflection.MethodInfo AddMethod(string name, Delegate method);
abstract member AddMethod : string * Delegate -> System.Reflection.MethodInfo
Public Function AddMethod (name As String, method As Delegate) As MethodInfo
매개 변수
- name
- String
메서드의 이름입니다.
- method
- Delegate
메서드에 대한 대리자입니다.
반품
MethodInfo 추가된 메서드를 나타내는 개체입니다.
예외
개체가 IExpando 이 메서드를 지원하지 않습니다.