getMethod( )

Returns a pointer to an object’s method for the specified name.

Interface
PODSObject
IDL definition
PODSMethod getMethod(
  PODSString name,
  out PODSString type
);
JavaScript synopsis

Not applicable

C synopsis
PODSMethod PODSgetMethod(
  PODSObject* podsobj,
  PODSString name,
  PODSString* type
);
Parameters
  • podsobj   The PODSObject object.

  • name   [in] Name of object’s method.

  • type   [out] Type string specifying number of arguments, and data types of the arguments and the return value. See Type strings returned by getMethod( ) and topics that follow.

Returns

Pointer to method for specified name.

Remarks

Useful if a PODS author wants to invoke a method directly, especially from JavaScript. If your POD returns an object that you want to be accessible from JavaScript, your object must implement getMethod( ).

See also

How M-Business Client uses getMethod( )


Type strings returned by getMethod( )
Variable number of arguments in PODS
Optional parameters
JavaScript type conversions