DictTable.objectMethodObject Method
Returns an instance of the MethodInfo class for an object method that is specified by index.
Syntax
public DictMethod objectMethodObject(int methodNumber, [TableScope tableScope])
Run On
Called
Parameters
- methodNumber
Type: int
The one-based index to the object methods for the table, in AOT order.
- tableScope
Type: TableScope Enumeration
Return Value
Type: DictMethod Class
An instance of the MethodInfo class for the object method that is specified by the methodNumber parameter; nullNothingnullptrunita null reference (Nothing in Visual Basic) if the instance could not be created.
Examples
The following example shows the retrieval of the object methods for a table.
DictTable dt;
int i;
MethodInfo mi;
dt = new DictTable(tablenum(CustTable));
if (dt)
{
for (i=1; i <= dt.objectMethodCnt(); i++)
{
mi = dt.objectMethodObject(i);
if (mi)
{
print mi.name();
}
}
}