DictTable.Objectmethodcnt 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
Objectmethodcnt(TableScope) | |
Objectmethodcnt() |
Returns the number of instance methods for the table. |
Objectmethodcnt(TableScope)
public:
virtual int Objectmethodcnt(Microsoft::Dynamics::Ax::Xpp::TableScope tableScope);
public virtual int Objectmethodcnt (Microsoft.Dynamics.Ax.Xpp.TableScope tableScope);
abstract member Objectmethodcnt : Microsoft.Dynamics.Ax.Xpp.TableScope -> int
override this.Objectmethodcnt : Microsoft.Dynamics.Ax.Xpp.TableScope -> int
Public Overridable Function Objectmethodcnt (tableScope As TableScope) As Integer
Parameters
- tableScope
- TableScope
Returns
Applies to
Objectmethodcnt()
Returns the number of instance methods for the table.
public:
virtual int Objectmethodcnt();
public virtual int Objectmethodcnt ();
abstract member Objectmethodcnt : unit -> int
override this.Objectmethodcnt : unit -> int
Public Overridable Function Objectmethodcnt () As Integer
Returns
The number of instance methods for the table.
Remarks
The following example shows the retrieval of the number of instance methods for a table.
DictTable dt;
dt = new DictTable(tablenum(CustTable));
if (dt)
{
print (strfmt("The table has %1 instance methods.", dt.objectMethodCnt()));
}