Foundation.NSNumber Members

The members of Foundation.NSNumber are listed below.

See Also: Inherited members from Foundation.NSValue

Public Constructors

A constructor that initializes the object from the data stored in the unarchiver object.
Documentation for this section has not yet been entered.
Documentation for this section has not yet been entered.
Documentation for this section has not yet been entered.
Documentation for this section has not yet been entered.
Documentation for this section has not yet been entered.
Documentation for this section has not yet been entered.
Documentation for this section has not yet been entered.
Documentation for this section has not yet been entered.
Documentation for this section has not yet been entered.
Documentation for this section has not yet been entered.
Documentation for this section has not yet been entered.
Documentation for this section has not yet been entered.
Documentation for this section has not yet been entered.
Documentation for this section has not yet been entered.

Protected Constructors

Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

[read-only]
BoolValuebool. Convertthis value into a boolean (0 == false).
[read-only]
ByteValuebyte. Converts this value into a byte.
[read-only]
override
ClassHandleIntPtr. The handle for this class.
[read-only]
DoubleValuedouble. Returns this number as a double.
[read-only]
FloatValuefloat. Returns this number as a float.
[read-only]
Int16Valueshort. Retrieves the value of the number as a short.
[read-only]
Int32Valueint. Retrieves the value of the number as an int.
[read-only]
Int64Valuelong. Retrieves the value of the number as a long.
[read-only]
LongValuenint. Documentation for this section has not yet been entered.
[read-only]
NFloatValuenfloat. Documentation for this section has not yet been entered.
[read-only]
NIntValuenint. Documentation for this section has not yet been entered.
[read-only]
NSDecimalValueNSDecimal. The value of the number as an NSDecimal.
[read-only]
NUIntValuenuint. Documentation for this section has not yet been entered.
[read-only]
SByteValuesbyte. The value of the number as an sbyte.
[read-only]
StringValuestring. The value of the number formatted as a human-readable string.
[read-only]
UInt16Valueushort. The value of the number as a ushort.
[read-only]
UInt32Valueuint. The value of the number as a uint.
[read-only]
UInt64Valueulong. The value of the number as a ulong.
[read-only]
UnsignedLongValuenuint. Documentation for this section has not yet been entered.

Public Methods

Compare(NSNumber) : nint
Compares this to another number and returns a value indicating whether it is less than, equal, or greater than this.
CompareTo(NSNumber) : int
Documentation for this section has not yet been entered.
CompareTo(object) : int
Documentation for this section has not yet been entered.
DescriptionWithLocale(NSLocale) : string
Returns a localized description of this number.
Equals(NSNumber) : bool
Documentation for this section has not yet been entered.
override
Equals(object) : bool
Documentation for this section has not yet been entered.
static
FromBoolean(bool) : NSNumber
Factory method that creates a number from a bool.
static
FromByte(byte) : NSNumber
Factory method to create a number from a byte.
static
FromDouble(double) : NSNumber
Factory method to create a number from a double.
static
FromFloat(float) : NSNumber
Factory method to create a number from a float.
static
FromInt16(short) : NSNumber
Factory method to create a number from a short.
static
FromInt32(int) : NSNumber
Factory method to create a number from an int.
static
FromInt64(long) : NSNumber
Factory method to create a number from a long.
static
FromLong(nint) : NSNumber
Documentation for this section has not yet been entered.
static
FromNFloat(nfloat) : NSNumber
Documentation for this section has not yet been entered.
static
FromNInt(nint) : NSNumber
Documentation for this section has not yet been entered.
static
FromNUInt(nuint) : NSNumber
Documentation for this section has not yet been entered.
static
FromSByte(sbyte) : NSNumber
Factory method to create a number from an sbyte.
static
FromUInt16(ushort) : NSNumber
Factory method to create a number from a ushort.
static
FromUInt32(uint) : NSNumber
Factory method to create a number from a uint.
static
FromUInt64(ulong) : NSNumber
Factory method to create a number from a ulong.
static
FromUnsignedLong(nuint) : NSNumber
Documentation for this section has not yet been entered.
override
GetHashCode() : int
Generates a hash code for the current instance.
override
ToString() : string
Returns a string representation of the value of the current instance.

Public Operators

static
Conversion to System.Boolean(Explicit)Documentation for this section has not yet been entered.
static
Conversion to System.Byte(Explicit)Documentation for this section has not yet been entered.
static
Conversion to System.Double(Explicit)Documentation for this section has not yet been entered.
static
Conversion to System.Int16(Explicit)Documentation for this section has not yet been entered.
static
Conversion to System.Int32(Explicit)Documentation for this section has not yet been entered.
static
Conversion to System.Int64(Explicit)Documentation for this section has not yet been entered.
static
Conversion to System.SByte(Explicit)Documentation for this section has not yet been entered.
static
Conversion to System.Single(Explicit)Documentation for this section has not yet been entered.
static
Conversion to System.UInt16(Explicit)Documentation for this section has not yet been entered.
static
Conversion to System.UInt32(Explicit)Documentation for this section has not yet been entered.
static
Conversion to System.UInt64(Explicit)Documentation for this section has not yet been entered.
static
Conversion to Foundation.NSNumber(Implicit)Documentation for this section has not yet been entered.
static
Conversion to Foundation.NSNumber(Implicit)Documentation for this section has not yet been entered.
static
Conversion to Foundation.NSNumber(Implicit)Documentation for this section has not yet been entered.
static
Conversion to Foundation.NSNumber(Implicit)Documentation for this section has not yet been entered.
static
Conversion to Foundation.NSNumber(Implicit)Documentation for this section has not yet been entered.
static
Conversion to Foundation.NSNumber(Implicit)Documentation for this section has not yet been entered.
static
Conversion to Foundation.NSNumber(Implicit)Documentation for this section has not yet been entered.
static
Conversion to Foundation.NSNumber(Implicit)Documentation for this section has not yet been entered.
static
Conversion to Foundation.NSNumber(Implicit)Documentation for this section has not yet been entered.
static
Conversion to Foundation.NSNumber(Implicit)Documentation for this section has not yet been entered.
static
Conversion to Foundation.NSNumber(Implicit)Documentation for this section has not yet been entered.