UFT Test Object Schema > Simple Types > Variant_Type Simple Type

Variant_Type Simple Type

Description

The list of possible values for the VariantType attribute in the Type element.

Important Information

The value must be one of the strings listed in the XSD source displayed below.

Type

union of integer

Source

<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="Variant_Type">
    <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: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>