Partilhar via


DictField.baseType Method

Definition

Returns the base type of the field, such as string, real, integer, date, time, enum, or container.

public:
 virtual Microsoft::Dynamics::Ax::Xpp::Types baseType();
public virtual Microsoft.Dynamics.Ax.Xpp.Types baseType ();
abstract member baseType : unit -> Microsoft.Dynamics.Ax.Xpp.Types
override this.baseType : unit -> Microsoft.Dynamics.Ax.Xpp.Types
Public Overridable Function baseType () As Types

Returns

A Types value that specifies the type of the field.

Remarks

The following example shows the retrieval of the base type of a field.

DictField df;
df = new DictField(tablenum(CustTable), fieldnum(CustTable, AccountNum)); 
if (df)
{
    print strfmt("The field type is %1.", df.baseType());
}

Applies to