Share via


NSNumber.Explicit 运算符

定义

重载

Explicit(NSNumber to UInt64)
Explicit(NSNumber to UInt32)
Explicit(NSNumber to Single)
Explicit(NSNumber to SByte)
Explicit(NSNumber to Int64)
Explicit(NSNumber to UInt16)
Explicit(NSNumber to Int16)
Explicit(NSNumber to Double)
Explicit(NSNumber to Byte)
Explicit(NSNumber to Boolean)
Explicit(NSNumber to Int32)

Explicit(NSNumber to UInt64)

public static explicit operator ulong (Foundation.NSNumber source);
static member op_Explicit : Foundation.NSNumber -> uint64

参数

source
NSNumber

返回

适用于

Explicit(NSNumber to UInt32)

public static explicit operator uint (Foundation.NSNumber source);
static member op_Explicit : Foundation.NSNumber -> uint32

参数

source
NSNumber

返回

适用于

Explicit(NSNumber to Single)

public static explicit operator float (Foundation.NSNumber source);
static member op_Explicit : Foundation.NSNumber -> single

参数

source
NSNumber

返回

适用于

Explicit(NSNumber to SByte)

public static explicit operator sbyte (Foundation.NSNumber source);
static member op_Explicit : Foundation.NSNumber -> sbyte

参数

source
NSNumber

返回

适用于

Explicit(NSNumber to Int64)

public static explicit operator long (Foundation.NSNumber source);
static member op_Explicit : Foundation.NSNumber -> int64

参数

source
NSNumber

返回

适用于

Explicit(NSNumber to UInt16)

public static explicit operator ushort (Foundation.NSNumber source);
static member op_Explicit : Foundation.NSNumber -> uint16

参数

source
NSNumber

返回

适用于

Explicit(NSNumber to Int16)

public static explicit operator short (Foundation.NSNumber source);
static member op_Explicit : Foundation.NSNumber -> int16

参数

source
NSNumber

返回

适用于

Explicit(NSNumber to Double)

public static explicit operator double (Foundation.NSNumber source);
static member op_Explicit : Foundation.NSNumber -> double

参数

source
NSNumber

返回

适用于

Explicit(NSNumber to Byte)

public static explicit operator byte (Foundation.NSNumber source);
static member op_Explicit : Foundation.NSNumber -> byte

参数

source
NSNumber

返回

适用于

Explicit(NSNumber to Boolean)

public static explicit operator bool (Foundation.NSNumber source);
static member op_Explicit : Foundation.NSNumber -> bool

参数

source
NSNumber

返回

适用于

Explicit(NSNumber to Int32)

public static explicit operator int (Foundation.NSNumber source);
static member op_Explicit : Foundation.NSNumber -> int

参数

source
NSNumber

返回

适用于