JSObject.IExpando.AddMethod Method (String, Delegate)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

Adds the specified method to the object. IExpando.AddMethod is not implemented in JScript.

Namespace:   Microsoft.JScript
Assembly:  Microsoft.JScript (in Microsoft.JScript.dll)

MethodInfo IExpando.AddMethod(
	string name,
	Delegate method
)

Parameters

name
Type: System.String

The name of the method to add.

method
Type: System.Delegate

The delegate to the method.

Return Value

Type: System.Reflection.MethodInfo

null in all cases.

.NET Framework
Available since 1.1
Return to top
Show: