Collapse AllExpand All      Code: All Code: Multiple Code: Visual Basic Code: C# Code: Visual C++ Code: F# Code: JScript 
Int64 Structure

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Represents a 64-bit signed integer.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)
<SerializableAttribute> _
Public Structure Int64
[SerializableAttribute]
public struct Int64
[SerializableAttribute]
public value class Int64
[<Sealed>]
[<SerializableAttribute>]
type Int64 =  struct end
JScript supports the use of structures, but not the declaration of new ones.

The Int64 type exposes the following members.

  NameDescription
Public method EqualsIndicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Public method GetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public method GetTypeGets the Type of the current instance. (Inherited from Object.)
Public method Static member ParseConverts the string representation of a number to its 64-bit signed integer equivalent.
Public method ToString()()()()Converts the numeric value of this instance to its equivalent string representation. (Overrides Object..::..ToString()()()().)
Public method ToString(String)Converts the numeric value of this instance to its equivalent string representation, using the specified format.
Top
  NameDescription
Public field Static member MaxValueRepresents the largest possible value of an Int64. This field is constant.
Public field Static member MinValueRepresents the smallest possible value of an Int64. This field is constant.
Top

The Int64 value type represents integers with values ranging from negative 9,223,372,036,854,775,808 through positive 9,223,372,036,854,775,807.

Int64 provides methods to compare instances of this type, convert the value of an instance to its string representation, and convert the string representation of a number to an instance of this type.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.