System.GetDotNetType(Any) Method

Version: Available or changed with runtime version 2.0.

Gets the System.Type that corresponds to the given value.

Note

This method is supported only in Business Central on-premises.

Syntax

Type :=   System.GetDotNetType(Expression: Any)

Note

This method can be invoked without specifying the data type name.

Parameters

Expression
 Type: Any
The value for which to retrieve the System.Type.

Return Value

Type
 Type: DotNet

System Data Type
Get Started with AL
Developing Extensions