DictField.baseType Method
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 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
A Types value that specifies the type of the field.
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());
}