GlobalScope.IExpando.AddMethod(String, Delegate) Methode

Definition

Fügt die angegebene Methode zum globalen Bereich hinzu. Diese Methode ist in JScript nicht implementiert.

Diese API unterstützt die Produktinfrastruktur und ist nicht für die direkte Verwendung aus Ihrem Code gedacht.

 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

Parameter

name
String

Der Name der hinzuzufügenden Methode.

method
Delegate

Der Delegat an die Methode.

Gibt zurück

null in allen Fällen.

Implementiert

Gilt für:

Weitere Informationen