ValueMapType Complex Type
Article 12/11/2020
3 contributors
Feedback
In this article
Defines a list of name/value mappings between integer values and string values.
<xs:complexType name="ValueMapType">
<xs:sequence>
<xs:element name="map"
type="ValueMapValueType"
maxOccurs="unbounded"
/>
</xs:sequence>
<xs:attribute name="name"
type="string"
use="required"
/>
<xs:attribute name="symbol"
type="CSymbolType"
use="optional"
/>
</xs:complexType>
Child elements
Element
Type
Description
map
ValueMapValueType
Defines the mapping between an integer value and a string value.
Attributes
Name
Type
Description
name
string
The name of the value map. Use the name in a data element to reference the mappings.
symbol
CSymbolType
The symbol to use to reference the mappings in your application. The Message Compiler (MC.exe) uses the symbol to create a constant for the map in the header file that the compiler generates. If you do not specify a symbol, the compiler generates one for you.
Requirements
Requirement
Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]