Type Property
      
 

Description

Returns variable type.


Property type

A VariableTypesEnum enumeration.  


Syntax

object.Type [= value]



The Type Property syntax has these parts:

Part Description
object An expression evaluating to an object of type XMPPVar.
value A VariableTypesEnum enumeration, as described in settings.

Settings

The settings for value are:

Constant Value Description
 VarBoolean 0 Boolean variable.
 VarString 1 String variable.
 VarPassword 2 Hidden string variable.
 VarOptionSingle 3 List of values, one can be selected.
 VarOptionMulti 4 List of values, many can be selected.
 VarStringMulti 5 Multiline string variable.
 VarLabel 97 Hidden variable.
 VarHidden 98 Hidden variable.
 VarUnknown 99 Unknown variable type.

Remarks

This property can be used to get type of the variable. You should refer to this table to decide how to present the variable to the user.

 

For the list of all the available values click here.