BBjStackElement::getMethodName

Description

In BBj 9.0 and higher, this method returns the methodName of the CustomObject at the stack level that the BBjStackElement represents.

Syntax

Return Value

Method

string

getMethodName()

Parameters

None.

Return Value

Returns the methodName of the CustomObject at this call level.

Remarks

If the specified call level is a method of a CustomObject getMethodName will return the name of the method, otherwise it returns null().

Example

vector! = BBjAPI().getRuntime().getBBjStack()
element! = vector!.get(0)
print element!.getMethodName()

See Also

BBjAPI

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.