WS_ITEM_RANGE structure (webservices.h)

Defines the minimum and maximum number of items that may appear when using WS_REPEATING_ELEMENT_FIELD_MAPPING, WS_REPEATING_ELEMENT_CHOICE_FIELD_MAPPING, or WS_REPEATING_ANY_ELEMENT_FIELD_MAPPING within a WS_FIELD_DESCRIPTION. The constraint is only enforced during deserialization.

Syntax

typedef struct _WS_ITEM_RANGE {
  ULONG minItemCount;
  ULONG maxItemCount;
} WS_ITEM_RANGE;

Members

minItemCount

The minimum number of elements that must appear.

maxItemCount

The maximum number of items that may appear.

Requirements

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