GlobalScope.IExpando.AddMethod(String, Delegate) 方法    
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将指定方法添加到全局范围。 此方法未在 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。