DictTable.Staticmethod(Int32) 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.
Returns the name of a static method that is specified by index.
public:
virtual System::String ^ Staticmethod(int methodNumber);
public virtual string Staticmethod (int methodNumber);
abstract member Staticmethod : int -> string
override this.Staticmethod : int -> string
Public Overridable Function Staticmethod (methodNumber As Integer) As String
Parameters
- methodNumber
- Int32
The one-based index to the list of static methods for the table, in AOT order.
Returns
The name of the static method that is specified by the methodNumber parameter; an empty string if the methodNumber value is not a valid static method index.
Remarks
The following example shows the retrieval of the name of each static method in a table.
DictTable dt;
int i;
dt = new DictTable(tablenum(CustTable));
if (dt)
{
for (i=1; i <= dt.staticMethodCnt() ; i++)
{
print dt.staticMethod(i);
}
}