Long Value Type

Overview

The Long value type represents an integral 64-bit number.

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

Definition

A Long 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 Long 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 Long values:

Default value 0
Minimum value -9,223,372,036,854,775,808
Maximum value 9,223,372,036,854,775,807

Configuration

A Long attribute value configuration has the following format:

<exampleElement exampleAttribute="123,000,000,000" />

For more information refer to the Int64.Parse Method topic in MSDN.

Is this article helpful for you?