MonobjcMonobjc Documented Class Library
NumberWithUnsignedShort Method (value)
NamespacesMonobjc.FoundationNSNumberNumberWithUnsignedShort(UInt16)

Creates and returns an NSNumber object containing a given value, treating it as an unsigned short.

Original signature is '+ (NSNumber *)numberWithUnsignedShort:(unsigned short)value'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSNumber NumberWithUnsignedShort(
	ushort value
)
Public Shared Function NumberWithUnsignedShort ( _
	value As UShort _
) As NSNumber
public:
static NSNumber^ NumberWithUnsignedShort(
	unsigned short value
)
Parameters
value (UInt16)
The value for the new number.
Return Value
An NSNumber object containing value, treating it as an unsigned short.
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)