Documentation for: ASP.NET Ajax Version 1.0

This documentation is for a previous version. For the current released version, see the ASP.NET Ajax documentation on MSDN.

 

 

 

 

 

 

 

Type.getBaseMethod Method

Returns the base implementation of a method from the base class of the specified instance.

Syntax

var methodRefVar = typeInstanceVar.getBaseMethod(instance, name);
instance

The instance for which the base method is requested.

name

The name of the method to retrieve as a reference.

Return Value

Returns the base implementation of the name method from the base class of instance, or null if the name method does not exist in instance.

Exceptions

Exception Type Condition

argumentType Function

(Debug) instance is not an instance of the current type.

Remarks

Use the getBaseMethod method to retrieve the base implementation of a method from a specified instance.

A method reference is useful for invoking the method of one class from another class by using the ECMAScript call Method method.

See Also