Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All


Used to assign enumerated text to discrete values. Any number of these elements may exist under an enumeratedList. Programmatically, these are represented as IPropertyEnumType objects, whose IPropertyEnumType::GetEnumType method returns PET_DISCRETEVALUE.


<!-- enum -->
<xs:element name="enum" minOccurs="0" maxOccurs="unbounded">
            <xs:element ref="image" minOccurs="0" maxOccurs="1"/>
        <xs:attribute name="value" type="xs:string" use="required"/>
        <xs:attribute name="text" type="xs:string" use="required"/>
        <xs:attribute name="mnemonics" type="xs:string"/>

Element Information

Parent ElementChild Elements
enumeratedList none



valuePublic. Required. The discrete value (string or number) to be assigned enumerated text to.
textPublic. Required. The text used to display the enumerated value. The syntax allows for a direct display string or an indirect display string reference; use the indirect display string so that it can be localized.
mnemonicsWindows 7 and later. Public. Optional. A list of mnemonic values that can be used to refer to the property in search queries. The list is delimited with the '|' character.




Community Additions

© 2015 Microsoft