MonobjcMonobjc Documented Class Library
InitWithShort Method (value)
NamespacesMonobjc.FoundationNSNumberInitWithShort(Int16)

Returns an NSNumber object initialized to contain a given value, treated as a signed short.

Original signature is '- (id)initWithShort:(short)value'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id InitWithShort(
	short value
)
Public Overridable Function InitWithShort ( _
	value As Short _
) As Id
public:
virtual Id^ InitWithShort(
	short value
)
Parameters
value (Int16)
The value for the new number.
Return Value
An NSNumber object containing value, treating it as a signed 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)