Official Content

Sets the default data type to be used when no other data type is specified.

Scope

Objects: External Object
Generators: .NET, Java

Description

When defining a variable of External Object type that includes one or more Type nodes, a data type must be selected from the list available for each defined Type. If no data type is specified, the variable will automatically use the value set in the Default Type property.

Runtime/Design time

This property applies only at design time.

Samples

Suppose you define an External Object called GenericDictionary with the structure shown in the image:

GenericDictionary_png

As you can see in the following image, VarChar has been set as Default Type for TypeValue. 

GenericDictionary4_png

When you define a GenericDictionary type variable, the default value of TypeValue is VarChar.

GenericDictionary3_png

How to apply changes

No action is required to apply the corresponding changes when the property value is configured.

Availability

This property is available since GeneXus 18 Upgrade 10.

Last update: November 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant