Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
This method creates and returns a built-in type mapper for the specified type. There is a built-in mapper for most standard XML Schema Definition (XSD) data types and for arrays.
HRESULT getMapper(enXSDTypexsdType,IXMLDOMNode* pSchemaNode,ISoapTypeMapper** ppSoapTypeMapper);
Parameters
- xsdType
[in] XSD type for which a built-in type mapper is to be returned. See Remarks for a list of supported types. - pSchemaNode
[in] Either a simpleType node in an XSD schema that describes the type derived from a XSD simple data type or a complexType node that describes an array. This parameter may be null. - ppSoapTypeMapper
[out] Built-in type mapper that is returned for the specified XSD data type.
Return Values
The following table describes the common return values.
| Value | Description |
|---|---|
| S_OK | Success. |
| E_NOTIMPL | The function contains no implementation. |
| E_OUTOFMEMORY | Out of memory. |
Remarks
The xsdType parameter can be one of the values shown in the following table.
| Name | Value | Description |
|---|---|---|
| EnXSDstring | 1 | XSD string mapper |
| EnXSDboolean | 2 | XSD Boolean mapper |
| EnXSDfloat | 3 | XSD float mapper |
| EnXSDDouble | 4 | XSD double mapper |
| EnXSDdecimal | 5 | XSD decimal mapper |
| enXSDtimeDuration | 6 | XSD timeDuration mapper |
| enXSDrecurringDuration | 7 | XSD recurringDuration mapper |
| EnXSDbinary | 8 | XSD binary mapper |
| enXSDuriReference | 9 | XSD uriReference mapper |
| EnXSDid | 10 | XSD id mapper |
| EnXSDidRef | 11 | XSD idRef mapper |
| EnXSDentity | 12 | XSD entity mapper |
| EnXSDQName | 13 | XSD OName mapper |
| EnXSDcdata | 14 | XSD cdata mapper |
| EnXSDtoken | 15 | XSD token mapper |
| EnXSDlanguage | 16 | XSD language mapper |
| EnXSDidRefs | 17 | XSD idRefs mapper |
| EnXSDentities | 18 | XSD entities mapper |
| EnXSDnmtoken | 19 | XSD nmtoken mapper |
| EnXSDnmtokens | 20 | XSD nmtokens mapper |
| EnXSDname | 21 | XSD name mapper |
| EnXSDncname | 22 | XSD ncname mapper |
| EnXSDnotation | 23 | XSD notation mapper |
| EnXSDinteger | 24 | XSD integer mapper |
| enXSDnonpositiveInteger | 25 | XSD nonpositiveInteger mapper |
| EnXSDlong | 26 | XSD long mapper |
| EnXSDint | 27 | XSD int mapper |
| EnXSDshort | 28 | XSD short mapper |
| EnXSDbyte | 29 | XSD byte mapper |
| enXSDnonNegativeInteger | 30 | XSD nonNegativeInteger mapper |
| enXSDnegativeInteger | 31 | XSD negativeInteger mapper |
| enXSDunsignedLong | 32 | XSD unsignedLong mapper |
| EnXSDunsignedInt | 33 | XSD unsignedInt mapper |
| enXSDunsignedShort | 34 | XSD unsignedShort mapper |
| enXSDunsignedByte | 35 | XSD unsignedByte mapper |
| enXSDpositiveInteger | 36 | XSD positiveInteger mapper |
| EnXSDtimeInstant | 37 | XSD timeInstant mapper |
| EnXSDtime | 38 | XSD time mapper |
| EnXSDtimePeriod | 39 | XSD timePeriod mapper |
| EnXSDdate | 40 | XSD date mapper |
| EnXSDmonth | 41 | XSD month mapper |
| EnXSDyear | 42 | XSD year mapper |
| EnXSDcentury | 43 | XSD century mapper |
| enXSDrecurringDate | 44 | XSD recurringDate mapper |
| enXSDrecurringDay | 45 | XSD recurringDay mapper |
| EnXSDarray | 46 | SOAP array mapper |
| EnXSDanyType | 47 | XSD anyType mapper |
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Mssoap.h.
Link Library: Uuid.lib.
See Also
Send Feedback on this topic to the authors