MonobjcMonobjc Documented Class Library
Retain Method (cs)
NamespacesMonobjc.ApplicationServicesCGColorSpaceRetain(IntPtr)

Increments the retain count of a color space.

Original signature is 'CGColorSpaceRef CGColorSpaceRetain( CGColorSpaceRef cs );'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static IntPtr Retain(
	IntPtr cs
)
Public Shared Function Retain ( _
	cs As IntPtr _
) As IntPtr
public:
static IntPtr Retain(
	IntPtr cs
)
Parameters
cs (IntPtr)
MISSING
Return Value
The same color space you passed in as the cs parameter.
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.AppKit (Module: Monobjc.AppKit)