PrimitiveType property: Primitive class

Description

Use this property to return the type for this primitive element as an integer. The values are:

Numeric Value Constant Value Description

11

%Document_Binary

Binary primitive type.

1

%Document_Boolean

Boolean primitive type.

2

%Document_Char

Character primitive type.

The Character primitive type allows a single-character string only.

7

%Document_Date

Date primitive type.

9

%Document_DateTime

DateTime primitive type.

6

%Document_Decimal

Decimal primitive type.

4

%Document_Integer

Integer primitive type.

The Integer primitive type includes subtypes.

3

%Document_String

String primitive type.

The String primitive type requires a length. The String primitive type also includes subtypes.

10

%Document_Text

Text primitive type.

The Text primitive type is unbounded and does not require a length. The Text primitive type also includes subtypes.

8

%Document_Time

Time primitive type.

This property is read-only.