Partilhar via


DictTable.Objectmethodobject Method

Definition

Overloads

Objectmethodobject(Int32, TableScope)
Objectmethodobject(Int32)

Returns an instance of the MethodInfo class for an object method that is specified by index.

Objectmethodobject(Int32, TableScope)

public:
 virtual Microsoft::Dynamics::Ax::Xpp::DictMethod ^ Objectmethodobject(int methodNumber, Microsoft::Dynamics::Ax::Xpp::TableScope tableScope);
public virtual Microsoft.Dynamics.Ax.Xpp.DictMethod Objectmethodobject (int methodNumber, Microsoft.Dynamics.Ax.Xpp.TableScope tableScope);
abstract member Objectmethodobject : int * Microsoft.Dynamics.Ax.Xpp.TableScope -> Microsoft.Dynamics.Ax.Xpp.DictMethod
override this.Objectmethodobject : int * Microsoft.Dynamics.Ax.Xpp.TableScope -> Microsoft.Dynamics.Ax.Xpp.DictMethod
Public Overridable Function Objectmethodobject (methodNumber As Integer, tableScope As TableScope) As DictMethod

Parameters

methodNumber
Int32
tableScope
TableScope

Returns

Applies to

Objectmethodobject(Int32)

Returns an instance of the MethodInfo class for an object method that is specified by index.

public:
 virtual Microsoft::Dynamics::Ax::Xpp::DictMethod ^ Objectmethodobject(int methodNumber);
public virtual Microsoft.Dynamics.Ax.Xpp.DictMethod Objectmethodobject (int methodNumber);
abstract member Objectmethodobject : int -> Microsoft.Dynamics.Ax.Xpp.DictMethod
override this.Objectmethodobject : int -> Microsoft.Dynamics.Ax.Xpp.DictMethod
Public Overridable Function Objectmethodobject (methodNumber As Integer) As DictMethod

Parameters

methodNumber
Int32

Returns

An instance of the MethodInfo class for the object method that is specified by the methodNumber parameter; null, Nothing, nullptr, unit, a null reference (Nothing in Visual Basic) if the instance could not be created.

Remarks

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(); 
        } 
    } 
}

Applies to