<vector>
(Vector)
This element defines the vector variant type. Vector contents must 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.
<vt:vector baseType="lpstr"> <vt:lpstr>One</vt:lpstr> <vt:lpstr>Two</vt:lpstr> <vt:lpstr>Three</vt:lpstr> </vt:vector>
Parent Elements |
---|
|
Child Elements |
Subclause |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Attributes |
Description |
---|---|
|
The The allowed values are: variant, i1, i2, i4, i8, ui1, ui2, ui4, ui8, r4, r8, lpstr, lpwstr, bstr, date, filetime, bool, cy, error, clsid, and cf. The possible values for this attribute are defined by the ST_VectorBaseType simple type (§7.4.3.6). |
|
Specifies the number of elements in the vector. The possible values for this attribute are defined by the XML Schema unsignedInt datatype. |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_Vector">
<choice minOccurs="1" maxOccurs="unbounded">
<element ref="variant"/>
<element ref="i1"/>
<element ref="i2"/>
<element ref="i4"/>
<element ref="i8"/>
<element ref="ui1"/>
<element ref="ui2"/>
<element ref="ui4"/>
<element ref="ui8"/>
<element ref="r4"/>
<element ref="r8"/>
<element ref="lpstr"/>
<element ref="lpwstr"/>
<element ref="bstr"/>
<element ref="date"/>
<element ref="filetime"/>
<element ref="bool"/>
<element ref="cy"/>
<element ref="error"/>
<element ref="clsid"/>
<element ref="cf"/>
</choice>
<attribute name="baseType" type="ST_VectorBaseType" use="required"/>
<attribute name="size" type="xsd:unsignedInt" use="required"/>
</complexType>