Struct
IntPtr
struct IntPtr
Module: System
Assembly: System.Runtime.dll
Source file: IntPtr.rvn
Inheritance: Object → ValueType → IntPtr
Implements: ComparableTo<IntPtr>, EquatableTo<IntPtr>, Formattable
A signed native-sized integer.
Methods
10 items
CompareTo(other: IntPtr) -> int
Compares this value with the other value; returns a negative integer, zero or a positive integer for less than, equal to or greater than.
Implements ComparableTo<IntPtr>.CompareTo
Equals(other: IntPtr) -> bool
Tests equality with another value of the same type without boxing.
Implements EquatableTo<IntPtr>.Equals
Equals(other: object?) -> bool
Tests reference identity by default; an ordinary class may override equality.
Inherited from Object.Equals
GetHashCode() -> int
Returns a stable identity hash by default; an ordinary class may override it consistently with equality.
Inherited from Object.GetHashCode
GetType() -> TypeInfo
Returns metadata for the concrete runtime type of this instance.
Inherited from Object.GetType
Static member:
Parse(text: string, culture: Culture) -> Result<IntPtr, NumberParseError>
Parses explicit culture punctuation with strict three-digit grouping; whitespace is not accepted.
Static member:
Parse(text: string) -> Result<IntPtr, NumberParseError>
Parses invariant integer text and checks the native-width range.
ToString(format: string, culture: Culture) -> string
Formats with explicit culture; unsupported formats or precision fault.
Implements Formattable.ToString
ToString(format: string) -> string
Formats with the current culture using empty/G/G0, D, F or N; precision is 0–99.
ToString() -> string
Returns the concrete runtime type name for supported references, or display text from a class or boxed-struct override.
Inherited from Object.ToString