[Table of Contents] [docx version]

Shared MLs Reference Material - Math

ST_VectorBaseType (Vector Base Type Simple Type)

The ST_VectorBaseType simple type defines the allowed values for a vector's baseType attribute as: variant, i1, i2, i4, i8, ui1, ui2, ui4, ui8, r4, r8, lpstr, lpwstr, bstr, date, filetime, bool, cy, error, clsid, and cf.

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 vector shall be bool.

bstr (Basic String Base Type)

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

cf (Clipboard Data Base Type)

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

clsid (Class ID Base Type)

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

cy (Currency Base Type)

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

date (Date and Time Base Type)

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

error (Error Status Code Base Type)

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

filetime (File Time Base Type)

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

i1 (Vector Base Type Enumeration Value)

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

i2 (2-Byte Signed Integer Base Type)

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

i4 (4-Byte Signed Integer Base Type)

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

i8 (8-Byte Signed Integer Base Type)

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

lpstr (LPSTR Base Type)

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

lpwstr (LPWSTR Base Type)

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

r4 (4-Byte Real Number Base Type)

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

r8 (8-Byte Real Number Base Type)

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

ui1 (1-Byte Unsigned Integer Base Type)

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

ui2 (2-Byte Unisigned Integer Base Type)

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

ui4 (4-Byte Unsigned Integer Base Type)

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

ui8 (8-Byte Unsigned Integer Base Type)

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

variant (Variant Base Type)

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

 

Referenced By

vector@baseType7.4.2.34)

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

<simpleType name="ST_VectorBaseType">

   <restriction base="xsd:string">

   <enumeration value="variant"/>

   <enumeration value="i1"/>

   <enumeration value="i2"/>

   <enumeration value="i4"/>

   <enumeration value="i8"/>

   <enumeration value="ui1"/>

   <enumeration value="ui2"/>

   <enumeration value="ui4"/>

   <enumeration value="ui8"/>

   <enumeration value="r4"/>

   <enumeration value="r8"/>

   <enumeration value="lpstr"/>

   <enumeration value="lpwstr"/>

   <enumeration value="bstr"/>

   <enumeration value="date"/>

   <enumeration value="filetime"/>

   <enumeration value="bool"/>

   <enumeration value="cy"/>

   <enumeration value="error"/>

   <enumeration value="clsid"/>

   <enumeration value="cf"/>

   </restriction>

</simpleType>