Compartir a través de


DictTable.Fieldcnt Method

Definition

Overloads

Fieldcnt()

Returns the number of fields for a table.

Fieldcnt(TableScope)

Fieldcnt()

Returns the number of fields for a table.

public:
 virtual int Fieldcnt();
public virtual int Fieldcnt ();
abstract member Fieldcnt : unit -> int
override this.Fieldcnt : unit -> int
Public Overridable Function Fieldcnt () As Integer

Returns

The number of fields for the table.

Remarks

The following example shows the retrieval of the number of fields for a table.

DictTable dt; 
dt = new DictTable(tablenum(CustTable)); 
if (dt) 
{ 
    print (strfmt("The table has %1 fields.", dt.fieldCnt())); 
}

Applies to

Fieldcnt(TableScope)

public:
 virtual int Fieldcnt(Microsoft::Dynamics::Ax::Xpp::TableScope tableScope);
public virtual int Fieldcnt (Microsoft.Dynamics.Ax.Xpp.TableScope tableScope);
abstract member Fieldcnt : Microsoft.Dynamics.Ax.Xpp.TableScope -> int
override this.Fieldcnt : Microsoft.Dynamics.Ax.Xpp.TableScope -> int
Public Overridable Function Fieldcnt (tableScope As TableScope) As Integer

Parameters

tableScope
TableScope

Returns

Applies to