22.4.2.33 vector

This element defines the vector variant type. Vector contents shall be of uniform type as specified by the baseType attribute. The contents of a vector are defined using repeated child elements of the appropriate variant type.

[Example: A vector of lpstr variant types:

<vt:vector baseType="lpstr">
  <vt:lpstr>One</vt:lpstr>
  <vt:lpstr>Two</vt:lpstr>
  <vt:lpstr>Three</vt:lpstr>
</vt:vector>

end example]

Attributes

baseType (Vector Base Type)

The baseType attribute specifies the base variant type of a vector.

The allowed values are: variant, i1, i2, i4, i8, ui1, ui2, ui4, ui8, r4, r8, lpstr, lpwstr, bstr, date, filetime, bool, cy, error, and clsid.

The possible values for this attribute are defined by the ST_VectorBaseType simple type (22.4.3.4).

size (Vector Size)

Specifies the number of elements in the vector.

The possible values for this attribute are defined by the W3C XML Schema unsignedInt datatype.

[Note: The W3C XML Schema definition of this element’s content model (CT_Vector) is located in A.6.4. end note]

Last updated on