Short Value Type

Overview

The Short value type represents an integral 16-bit number.

For more information refer to the Int16 Structure topic in MSDN.

Definition

A Short value type is defined in the following manner:

[ws][sign][integral-digits[,]]integral-digits[ws]
Item Behaviour Description
ws Optional White space.
sign Optional Minus sign indicating a negative Short value.
integral-digits Required A series of digits ranging from 0 to 9. Runs of integral-digits can be partitioned by a group-separator symbol.
, Optional A culture-specific thousands separator symbol.

Predefined values

The following is a list of predefined Short values:

Default value 0
Minimum value -32,768
Maximum value 32,767

Configuration

A Short attribute value configuration has the following format:

<exampleElement exampleAttribute="12,300" />

For more information refer to the Int16.Parse method topic in MSDN.

Is this article helpful for you?