WS_ATTRIBUTE_DESCRIPTION structure (webservices.h)

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

Syntax

typedef struct _WS_ATTRIBUTE_DESCRIPTION {
  WS_XML_STRING *attributeLocalName;
  WS_XML_STRING *attributeNs;
  WS_TYPE       type;
  void          *typeDescription;
} WS_ATTRIBUTE_DESCRIPTION;

Members

attributeLocalName

The local name of the XML attribute.

attributeNs

The namespace of the XML attribute.

type

The type that corresponds to the XML attribute.

Not all types support being read and written as attributes. If the documentation for the WS_TYPE indicates it supports WS_ATTRIBUTE_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