Aracılığıyla paylaş


GlobalScope.IExpando.AddMethod(String, Delegate) Yöntem

Tanım

Belirtilen yöntemi genel kapsama ekler. Bu yöntem JScript uygulanmamıştır.

Bu API, ürün altyapısını destekler ve doğrudan kodunuzdan kullanıma yönelik değildir.

 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

Parametreler

name
String

Eklenecek yöntemin adı.

method
Delegate

Yöntemine olan temsilci.

Döndürülenler

MethodInfo

Her durumda null.

Uygulamalar

Şunlara uygulanır

Ayrıca bkz.