PatternMapType Complex Type

Not used. Defines a mapping between two regular expressions. One expression is used to find a matching string in the message string and the other is used to alter the string before the service places it back in the message string.

<xs:complexType name="PatternMapType">
    <xs:sequence>
        <xs:element name="map"
            type="PatternMapValueType"
            maxOccurs="unbounded"
         />
    </xs:sequence>
    <xs:attribute name="name"
        type="QName"
        use="required"
     />
    <xs:attribute name="format"
        type="anyURI"
        use="required"
     />
    <xs:attribute name="symbol"
        type="CSymbolType"
        use="optional"
     />
</xs:complexType>

Child elements

Element Type Description
map PatternMapValueType Defines the regular expressions used to find a matching string in the message string and alter it.

Attributes

Name Type Description
format anyURI The regular expression engine to use.
name QName The name of the pattern 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]