MonobjcMonobjc Documented Class Library
NSNumber Constructor (value)
NamespacesMonobjc.FoundationNSNumberNSNumber(Byte)

Returns an NSNumber object initialized to contain a given value, treated as an unsigned char.

Original signature is '- (id)initWithUnsignedChar:(unsigned char)value'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public NSNumber(
	byte value
)
Public Sub New ( _
	value As Byte _
)
public:
NSNumber(
	unsigned char value
)
Parameters
value (Byte)
The value for the new number.
Return Value
An NSNumber object containing value, treating it as an unsigned char.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)