DictField.type 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 data type of the field.
public:
virtual Microsoft::Dynamics::Ax::Xpp::Types type();
public virtual Microsoft.Dynamics.Ax.Xpp.Types type ();
abstract member type : unit -> Microsoft.Dynamics.Ax.Xpp.Types
override this.type : unit -> Microsoft.Dynamics.Ax.Xpp.Types
Public Overridable Function type () As Types
Returns
A Types value that specifies the type of the field.
Remarks
If the field is based on an extended data type, Types::UserType is returned as the return value of this method.
The following example shows the retrieval of the type of a field.
DictField df;
df = new DictField(tablenum(CustTable), fieldnum(CustTable, AccountNum));
if (df)
{
print df.type();
}