MonobjcMonobjc Documented Class Library
ValueWithNonretainedObject Method (anObject)
NamespacesMonobjc.FoundationNSValueValueWithNonretainedObject(Id)

Creates and returns an NSValue object that contains a given object.

Original signature is '+ (NSValue *)valueWithNonretainedObject:(id)anObject'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSValue ValueWithNonretainedObject(
	Id anObject
)
Public Shared Function ValueWithNonretainedObject ( _
	anObject As Id _
) As NSValue
public:
static NSValue^ ValueWithNonretainedObject(
	Id^ anObject
)
Parameters
anObject (Id)
The value for the new object.
Return Value
A new NSValue object that contains anObject.
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)