Share via


Int32 成员

表示 32 位有符号的整数。

下表列出了由 Int32 类型公开的成员。

公共字段

  名称 说明
Public field Static Supported by the .NET Compact Framework MaxValue 表示 Int32 的最大可能值。此字段为常数。
Public field Static Supported by the .NET Compact Framework MinValue 表示 Int32 的最小可能值。此字段为常数。

页首

公共方法

  名称 说明
Public method Supported by the .NET Compact Framework CompareTo 已重载。 将此实例与指定的对象或 Int32 进行比较,并返回二者相对值的指示。
Public method Supported by the .NET Compact Framework Equals 已重载。 返回一个值,该值指示此实例是否与指定的对象或 Int32 相等。
Public method Supported by the .NET Compact Framework GetHashCode 已重写。 返回此实例的哈希代码。
Public method Supported by the .NET Compact Framework GetType  获取当前实例的 Type。 (从 Object 继承。)
Public method Supported by the .NET Compact Framework GetTypeCode 返回值类型 Int32TypeCode
Public method Static Supported by the .NET Compact Framework Parse 已重载。 将数字的字符串表示形式转换为它的等效 32 位有符号整数。
Public method Static Supported by the .NET Compact Framework ReferenceEquals  确定指定的 Object 实例是否是相同的实例。 (从 Object 继承。)
Public method Supported by the .NET Compact Framework ToString 已重载。 已重写。 将此实例的数值转换为其等效的字符串表示。
Public method Static TryParse 已重载。 将数字的字符串表示形式转换为它的等效 32 位有符号整数。一个指示操作是否成功的返回值。

页首

显式接口实现

  名称 说明
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToBoolean 有关此成员的说明,请参见 IConvertible.ToBoolean
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToByte 有关此成员的说明,请参见 IConvertible.ToByte
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToChar 有关此成员的说明,请参见 IConvertible.ToChar
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToDateTime 有关此成员的说明,请参见 IConvertible.ToDateTime
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToDecimal 有关此成员的说明,请参见 IConvertible.ToDecimal
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToDouble 有关此成员的说明,请参见 IConvertible.ToDouble
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToInt16 有关此成员的说明,请参见 IConvertible.ToInt16
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToInt32 有关此成员的说明,请参见 IConvertible.ToInt32
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToInt64 有关此成员的说明,请参见 IConvertible.ToInt64
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToSByte 有关此成员的说明,请参见 IConvertible.ToSByte
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToSingle 有关此成员的说明,请参见 IConvertible.ToSingle
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToType 有关此成员的说明,请参见 IConvertible.ToType
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToUInt16 有关此成员的说明,请参见 IConvertible.ToUInt16
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToUInt32 有关此成员的说明,请参见 IConvertible.ToUInt32
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToUInt64 有关此成员的说明,请参见 IConvertible.ToUInt64

页首

请参见

参考

Int32 结构
System 命名空间
UInt32