Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

GetMethodID – PB Docs 2019 – PowerBuilder Library

GetMethodID – PB Docs 2019

GetMethodID

Description

Returns the ID of the requested method.

Syntax

Argument

Description

cls

pbclass containing the function.

methodName

The string name of the method in
lowercase.

rt

Type of the method: PBRT_FUNCTION for function or
PBRT_EVENT for event.

signature

Internal signature of the PowerBuilder function,
used to identify polymorphic methods in one class. Obtained with
the pbsig190 tool. If the signature is a null string (” “), the
first method found with the name methodName is
returned.

publicOnly

A boolean that determines whether only public
methods are searched (true) or all methods are searched (false).
The default is true.

Return value

pbMethodID of the method or kUndefinedMethodID on error.

Examples

This function uses GetMethodID to obtain the identifier (mid) of
the onnewfont function so that the identifier can be used to initialize
the PBCallInfo structure and call the function:

Usage

The GetMethodID function is used to obtain the ID of a method so
you can use it to invoke functions and trigger events.

See also

FindMatchingFunction

InvokeObjectFunction

TriggerEvent

Calling PowerScript from an
extension


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x