DictTable.Objectmethod Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Objectmethod(Int32) |
Returns the name of an instance method that is specified by index. |
Objectmethod(Int32, TableScope) |
Objectmethod(Int32)
Returns the name of an instance method that is specified by index.
public:
virtual System::String ^ Objectmethod(int methodNumber);
public virtual string Objectmethod (int methodNumber);
abstract member Objectmethod : int -> string
override this.Objectmethod : int -> string
Public Overridable Function Objectmethod (methodNumber As Integer) As String
Parameters
- methodNumber
- Int32
Returns
The name of the instance method that is specified by the methodNumber parameter; an empty string if the methodNumber value is not a valid instance method index.
Remarks
The following example shows the retrieval of the name of each instance method in a table.
DictTable dt;
int i;
dt = new DictTable(tablenum(CustTable));
if (dt)
{
for (i=1; i <= dt.objectMethodCnt() ; i++)
{
print dt.objectMethod(i);
}
}
Applies to
Objectmethod(Int32, TableScope)
public:
virtual System::String ^ Objectmethod(int methodNumber, Microsoft::Dynamics::Ax::Xpp::TableScope tableScope);
public virtual string Objectmethod (int methodNumber, Microsoft.Dynamics.Ax.Xpp.TableScope tableScope);
abstract member Objectmethod : int * Microsoft.Dynamics.Ax.Xpp.TableScope -> string
override this.Objectmethod : int * Microsoft.Dynamics.Ax.Xpp.TableScope -> string
Public Overridable Function Objectmethod (methodNumber As Integer, tableScope As TableScope) As String
Parameters
- methodNumber
- Int32
- tableScope
- TableScope