Share via


getElementMapperbyName Method

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This method creates and returns the type mapper for the specified element name. The getElementMapperbyName method looks in the schema identified by the addSchema method for the specified XML Schema Definition (XSD) element, and then creates a type mapper for that element.

Syntax

HRESULT getElementMapperbyName(
  BSTR bstrElementName, 
  BSTR bstrElementNamespace, 
  ISoapTypeMapper** ppSoapTypeMapper
);

Parameters

  • bstrElementName
    [in] Name of the element.
  • bstrElementNamespace
    [in] Namespace of the element.
  • ppSoapTypeMapper
    [in] Type mapper for the element.

Return Value

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.

Requirements

Header mssoap.h
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

ISoapTypeMapperFactory