MonobjcMonobjc Documented Class Library
DecodeNXColor Method (__target)

Decodes a color structure from NEXTSTEP Release 3 or earlier and returns an NSColor object.

Original signature is '- (NSColor *)decodeNXColor'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSColor DecodeNXColor(
	this NSCoder __target
<ExtensionAttribute> _
Public Shared Function DecodeNXColor ( _
	__target As NSCoder _
) As NSColor
static NSColor^ DecodeNXColor(
	NSCoder^ __target
__target (NSCoder)
The target instance.
Return Value
An autoreleased NSColor object. Returns nil if the archived color is invalid.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type NSCoder. When you use instance method syntax to call this method, omit the first 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)