MonobjcMonobjc Documented Class Library
ValueWithPointer Method (aPointer)
NamespacesMonobjc.FoundationNSValueValueWithPointer(IntPtr)

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

Original signature is '+ (NSValue *)valueWithPointer:(const void *)aPointer'

Available in Mac OS X v10.0 and later.

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