MonobjcMonobjc Documented Class Library
CallWebScriptMethodWithArguments Method (name, args)
NamespacesMonobjc.WebKitWebScriptObjectCallWebScriptMethodWithArguments(NSString, NSArray)

Returns the result of executing a method in the scripting environment.

Original signature is '- (id)callWebScriptMethod:(NSString *)name withArguments:(NSArray *)args'

Available in Mac OS X v10.3.9 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id CallWebScriptMethodWithArguments(
	NSString name,
	NSArray args
)
Public Overridable Function CallWebScriptMethodWithArguments ( _
	name As NSString, _
	args As NSArray _
) As Id
public:
virtual Id^ CallWebScriptMethodWithArguments(
	NSString^ name, 
	NSArray^ args
)
Parameters
name (NSString)
The name of the method to invoke.
args (NSArray)
The values to pass to the method.
Return Value
The return value of the method. Returns WebUndefined if an exception is thrown in the JavaScript environment or the method has no return value.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.WebKit (Module: Monobjc.WebKit)