WS_ELEMENT_DESCRIPTION structure (webservices.h)

Represents a mapping between a C data type and an XML element.

Syntax

typedef struct _WS_ELEMENT_DESCRIPTION {
  WS_XML_STRING *elementLocalName;
  WS_XML_STRING *elementNs;
  WS_TYPE       type;
  void          *typeDescription;
} WS_ELEMENT_DESCRIPTION;

Members

elementLocalName

The local name of the XML element.

elementNs

The namespace of the XML element.

type

The type that corresponds to this XML element.

Not all types support being read and written as an element. If the documentation for the WS_TYPE indicates it supports WS_ELEMENT_TYPE_MAPPING, then it can be used with this structure.

typeDescription

Additional information about the type. Each type has a different description structure. This may be NULL, depending on the WS_TYPE.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2 [desktop apps | UWP apps]
Header webservices.h