Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2008
Visual Studio
JScript
JScript Reference
Language Reference
Methods
Methods (A-E)
 call Method
Collapse All/Expand All Collapse All
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
JScript 8.0
call Method

Calls a method of an object, substituting another object for the current object.

function call([thisObj : Object [, arg1[, arg2[, ... [, argN]]]]])
thisObj

Optional. The object to be used as the current object.

arg1, arg2, ..., argN

Optional. List of arguments to be passed to the method.

The call method is used to call a method on behalf of another object. The call method allows you to change the object context of a function from the original context to the new object specified by thisObj.

If thisObj is not supplied, the global object is used as thisObj.

Other Resources

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker