W3cubDocs

/Haxe C#

IntPtr

package cs.system

extends ValueType

implements ISerializable

@:struct@:final@:libType@:csNative@:native("System.IntPtr") Available on cs

Constructor

@:final @:overload new (value:Int)

@:final @:overload new (value:Pointer<Void>)

@:final @:overload new (value:Int64)

Methods

@:final @:overload ToInt32 ():Int

@:final @:overload ToInt64 ():Int64

@:final @:overload ToPointer ():Pointer<Void>

Static variables

static read only Size:Int

@:readOnly static read only Zero:IntPtr

Static methods

@:final @:overload static op_Equality (value1:IntPtr, value2:IntPtr):Bool

@:final @:overload static op_Explicit (value:Int):IntPtr

@:final @:overload static op_Explicit (value:IntPtr):Pointer<Void>

@:final @:overload static op_Explicit (value:Pointer<Void>):IntPtr

@:final @:overload static op_Explicit (value:Int64):IntPtr

@:final @:overload static op_Inequality (value1:IntPtr, value2:IntPtr):Bool

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cs/system/IntPtr.html