[Table of Contents] [docx version]

Shared MLs Reference Material - Math

ST_ArrayBaseType (Array Base Type Simple Type)

The ST_ArrayBaseType simple type defines the allowed values for an array's baseType attribute as: variant, i1, i2, i4, int, ui1,ui2, ui4, uint, r4, r8, decimal, bstr, date, bool, cy, and error.

This simple type's contents are a restriction of the XML Schema string datatype.

The following are possible enumeration values for this type:

Enumeration Value

Description

bool (Boolean Base Type)

Specifies that the variant type for the contents of a array shall be bool.

bstr (Basic String Base Type)

Specifies that the variant type for the contents of a array shall be bstr.

cy (Curency Base Type)

Specifies that the variant type for the contents of a array shall be cy.

date (Date and Time Base Type)

Specifies that the variant type for the contents of a array shall be date.

decimal (Decimal Base Type)

Specifies that the variant type for the contents of a array shall be decimal.

error (Error Status Code Base Type)

Specifies that the variant type for the contents of a array shall be error.

i1 (1-Byte Signed Integer Base Type)

Specifies that the variant type for the contents of a array shall be i1.

i2 (2-Byte Signed Integer Base Type)

Specifies that the variant type for the contents of a array shall be i2.

i4 (4-Byte Signed Integer Base Type)

Specifies that the variant type for the contents of a array shall be i4.

int (Integer Base Type)

Specifies that the variant type for the contents of a array shall be int.

r4 (4-Byte Real Number Base Type)

Specifies that the variant type for the contents of a array shall be r4.

r8 (8-Byte Real Number Base Type)

Specifies that the variant type for the contents of a array shall be r8.

ui1 (1-Byte Unsigned Integer Base Type)

Specifies that the variant type for the contents of a array shall be ui1.

ui2 (2-Byte Unsigned Integer Base Type)

Specifies that the variant type for the contents of a array shall be ui2.

ui4 (4-Byte Unsigned Integer Base Type)

Specifies that the variant type for the contents of a array shall be ui4.

uint (Unsigned Integer Base Type)

Specifies that the variant type for the contents of a array shall be uint.

variant (Variant Base Type)

Specifies that the variant type for the contents of a array shall be variant.

 

Referenced By

array@baseType7.4.2.1)

The following XML Schema fragment defines the contents of this simple type:

<simpleType name="ST_ArrayBaseType">

   <restriction base="xsd:string">

   <enumeration value="variant"/>

   <enumeration value="i1"/>

   <enumeration value="i2"/>

   <enumeration value="i4"/>

   <enumeration value="int"/>

   <enumeration value="ui1"/>

   <enumeration value="ui2"/>

   <enumeration value="ui4"/>

   <enumeration value="uint"/>

   <enumeration value="r4"/>

   <enumeration value="r8"/>

   <enumeration value="decimal"/>

   <enumeration value="bstr"/>

   <enumeration value="date"/>

   <enumeration value="bool"/>

   <enumeration value="cy"/>

   <enumeration value="error"/>

   </restriction>

</simpleType>