TestingEnvironment Schema
Variant Simple Type
Description
The underlying data type of the Variant. It can be specified either as a string which is one of the Variant types, e.g. VT_BSTR, or by the corresponding Variant integer, e.g. 8.
Namespace (none)
Type
Union of xs:integer
Diagram
Variant Simple Type
Overview
VariantUnion of xs:integer
The underlying data type of the Variant. It can be specified either as a string which is one of the Variant types, e.g. VT_BSTR, or by the corresponding Variant integer, e.g. 8.
Source
<xs:simpleType name="Variant" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>The underlying data type of the Variant. It can be specified either as a string which is one of the Variant types, e.g. VT_BSTR, or by the corresponding Variant integer, e.g. 8.</xs:documentation>
  </xs:annotation>
  <xs:union memberTypes="xs:integer">
    <xs:simpleType>
      <xs:restriction base="xs:string">
        <xs:enumeration value="String"   />
        <xs:enumeration value="Integer"   />
        <xs:enumeration value="Boolean"   />
        <xs:enumeration value="Decimal"   />
        <xs:enumeration value="Date"   />
        <xs:enumeration value="Variant"   />
        <xs:enumeration value="IDispatch"   />
        <xs:enumeration value="IUnknown"   />
        <xs:enumeration value="Enumeration"   />
        <xs:enumeration value="TEAObject"   />
      </xs:restriction>
    </xs:simpleType>
    <xs:simpleType>
      <xs:restriction base="xs:string">
        <xs:enumeration value="VT_EMPTY"   />
        <xs:enumeration value="VT_NULL"   />
        <xs:enumeration value="VT_I2"   />
        <xs:enumeration value="VT_I4"   />
        <xs:enumeration value="VT_R4"   />
        <xs:enumeration value="VT_R8"   />
        <xs:enumeration value="VT_CY"   />
        <xs:enumeration value="VT_DATE"   />
        <xs:enumeration value="VT_BSTR"   />
        <xs:enumeration value="VT_DISPATCH"   />
        <xs:enumeration value="VT_ERROR"   />
        <xs:enumeration value="VT_BOOL"   />
        <xs:enumeration value="VT_VARIANT"   />
        <xs:enumeration value="VT_UNKNOWN"   />
        <xs:enumeration value="VT_DECIMAL"   />
        <xs:enumeration value="VT_I1"   />
        <xs:enumeration value="VT_UI1"   />
        <xs:enumeration value="VT_UI2"   />
        <xs:enumeration value="VT_UI4"   />
        <xs:enumeration value="VT_I8"   />
        <xs:enumeration value="VT_UI8"   />
        <xs:enumeration value="VT_INT"   />
        <xs:enumeration value="VT_UINT"   />
        <xs:enumeration value="VT_VOID"   />
        <xs:enumeration value="VT_HRESULT"   />
        <xs:enumeration value="VT_PTR"   />
        <xs:enumeration value="VT_SAFEARRAY"   />
        <xs:enumeration value="VT_CARRAY"   />
        <xs:enumeration value="VT_USERDEFINED"   />
        <xs:enumeration value="VT_LPSTR"   />
        <xs:enumeration value="VT_LPWSTR"   />
        <xs:enumeration value="VT_RECORD"   />
        <xs:enumeration value="VT_FILETIME"   />
        <xs:enumeration value="VT_BLOB"   />
        <xs:enumeration value="VT_STREAM"   />
        <xs:enumeration value="VT_STORAGE"   />
        <xs:enumeration value="VT_STREAMED_OBJECT"   />
        <xs:enumeration value="VT_STORED_OBJECT"   />
        <xs:enumeration value="VT_BLOB_OBJECT"   />
        <xs:enumeration value="VT_CF"   />
        <xs:enumeration value="VT_CLSID"   />
        <xs:enumeration value="VT_BSTR_BLOB"   />
        <xs:enumeration value="VT_VECTOR"   />
        <xs:enumeration value="VT_ARRAY"   />
        <xs:enumeration value="VT_BYREF"   />
        <xs:enumeration value="VT_RESERVED"   />
        <xs:enumeration value="VT_ILLEGAL"   />
        <xs:enumeration value="VT_ILLEGALMASKED"   />
        <xs:enumeration value="VT_TYPEMASK"   />
      </xs:restriction>
    </xs:simpleType>
  </xs:union>
</xs:simpleType>
See Also