MonobjcMonobjc Documented Class Library
SetTarget Method (target)

Sets the target of the receiver.

Original signature is '- (void)setTarget:(id)target'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void SetTarget(
	Id target
Public Overridable Sub SetTarget ( _
	target As Id _
virtual void SetTarget(
	Id^ target
target (Id)
The target of the receiver. When you select a color in the color panel NSColorPanel sends its action to its target, provided that neither the action nor the target is nil. The target is nil by default.
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)