Note
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
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.
Syntax
<!-- enum -->
<xs:element name="enum" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element ref="image" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
<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"/>
</xs:complexType>
</xs:element>
Element Information
| Parent Element | Child Elements |
|---|---|
| enumeratedList | none |
Attributes
| Attribute | Description |
|---|---|
| value | Public. Required. The discrete value (string or number) to be assigned enumerated text to. |
| text | Public. 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. |
| mnemonics | Windows 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. |