Variant Data Type

Represents an AL variable object. The AL variant data type can contain many AL data types.

The following methods are available on instances of the Variant data type.

Method name Description
IsRecord() Indicates whether an AL variant contains a Record variable.
IsFile() Indicates whether an AL variant contains a File variable.
IsAction() Indicates whether an AL variant contains an Action variable.
IsCodeunit() Indicates whether an AL variant contains a Codeunit variable.
IsAutomation() Indicates whether an AL variant contains an Automation variable.
IsBoolean() Indicates whether an AL variant contains a Boolean variable.
IsOption() Indicates whether an AL variant contains an Option variable.
IsInteger() Indicates whether an AL variant contains an Integer variable.
IsDecimal() Indicates whether an AL variant contains a Decimal variable.
IsChar() Indicates whether an AL variant contains a Char variable.
IsText() Indicates whether an AL variant contains a Text variable.
IsCode() Indicates whether an AL variant contains a Code variable.
IsDate() Indicates whether an AL variant contains a Date variable.
IsTime() Indicates whether an AL variant contains a Time variable.
IsBinary() Indicates whether an AL variant contains a Binary variable.
IsDateFormula() Indicates whether an AL variant contains a DateFormula variable.
IsTransactionType() Indicates whether an AL variant contains a TransactionType variable.
IsInStream() Indicates whether an AL variant contains an InStream variable.
IsOutStream() Indicates whether an AL variant contains an OutStream variable.
IsDotNet() Indicates whether an AL variant contains a DotNet variable.
IsWideChar() Indicates whether an AL variant contains a WideChar variable.
IsExecutionMode() Indicates whether an AL variant contains an ExecutionMode variable.
IsDateTime() Indicates whether an AL variant contains a DateTime variable.
IsGuid() Indicates whether an AL variant contains a Guid variable.
IsRecordId() Indicates whether an AL variant contains a RecordId variable.
IsDuration() Indicates whether an AL variant contains a Duration variable.
IsBigInteger() Indicates whether an AL variant contains a BigInteger variable.
IsRecordRef() Indicates whether an AL variant contains a RecordRef variable.
IsFieldRef() Indicates whether an AL variant contains a FieldRef variable.
IsFilterPageBuilder() Indicates whether an AL variant contains a FilterPageBuilder variable.
IsClientType() Indicates whether an AL variant contains a ClientType variable.
IsObjectType() Indicates whether an AL variant contains an ObjectType variable.
IsTextEncoding() Indicates whether an AL variant contains a TextEncoding variable.
IsReportFormat() Indicates whether an AL variant contains a RecordFormat variable.
IsDefaultLayout() Indicates whether an AL variant contains a DefaultLayout variable.
IsTableConnectionType() Indicates whether an AL variant contains a TableConnectionType variable.
IsSecurityFiltering() Indicates whether an AL variant contains a SecurityFiltering variable.
IsDataClassificationType() Indicates whether a AL variant contains a DataClassification variable.
IsTextConstant() Indicates whether an AL variant contains a Text constant.
IsByte() Indicates whether an AL variant contains a Byte data type variable.
IsNotification() Indicates whether an AL variant contains a Notification variable.
IsTestPermissions() Indicates whether an AL variant contains a TestPermissions variable.
IsJsonArray() Indicates whether an AL variant contains a JsonArray variable.
IsJsonObject() Indicates whether an AL variant contains a JsonObject variable.
IsJsonToken() Indicates whether an AL variant contains a JsonToken variable.
IsJsonValue() Indicates whether an AL variant contains a JsonValue variable.
IsXmlAttribute() Indicates whether an AL variant contains an XmlAttribute variable.
IsXmlAttributeCollection() Indicates whether an AL variant contains an XmlAttributeCollection variable.
IsXmlCData() Indicates whether an AL variant contains an XmlCData variable.
IsXmlComment() Indicates whether an AL variant contains an XmlComment variable.
IsXmlDeclaration() Indicates whether an AL variant contains an XmlDeclaration variable.
IsXmlDocument() Indicates whether an AL variant contains an XmlDocument variable.
IsXmlDocumentType() Indicates whether an AL variant contains an XmlDocumentType variable.
IsXmlElement() Indicates whether an AL variant contains an XmlElement variable.
IsXmlNamespaceManager() Indicates whether an AL variant contains an XmlNamespaceManager variable.
IsXmlNameTable() Indicates whether an AL variant contains an XmlNameTable variable.
IsXmlNode() Indicates whether an AL variant contains an XmlNode variable.
IsXmlNodeList() Indicates whether an AL variant contains an XmlNodeList variable.
IsXmlProcessingInstruction() Indicates whether an AL variant contains an XmlProcessingInstruction variable.
IsXmlReadOptions() Indicates whether an AL variant contains an XmlReadOptions variable.
IsXmlText() Indicates whether an AL variant contains an XmlText variable.
IsXmlWriteOptions() Indicates whether an AL variant contains an XmlWriteOptions variable.
IsTextBuilder() Indicates whether an AL variant contains a TextBuilder variable.

See Also

Getting Started with AL
Developing Extensions