Type Element

Description

The argument or return value type.

Important Information

The type can be either a variant type or a list of predefined values. You must define at least one of the attributes in this element.

Attributes

Name Type Use Default Description
ListOfValuesName IDREF optional   The name of the list of values of the argument or return value. The list of values must be defined in this XML file. This attribute is only applicable if the VariantType attribute value is Enumeration or  VT_USERDEFINED.
VariantType Variant_Type optional   The type of the argument or return value.

Note: If you are using a list of values for the argument or return value type, the VariantType attribute value must be Enumeration or VT_USERDEFINED.

For the list of possible values, see the Variant_Type simple type. 

Used By

Source

<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="Type">
    <xs:annotation>
        <xs:documentation>The argument or return value type.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
        <xs:attribute name="VariantType" type="Variant_Type">
            <xs:annotation>
                <xs:documentation>The variant type of the argument, return value, or property.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="ListOfValuesName" type="xs:IDREF" use="optional">
            <xs:annotation>
                <xs:documentation>The name of the list of values of the argument, return value, or property.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
</xs:element>