MonobjcMonobjc Documented Class Library
SelectItemWithObjectValue Method (anObject)
NamespacesMonobjc.AppKitNSComboBoxSelectItemWithObjectValue(Id)

Selects the first pop-up list item that corresponds to the given object.

Original signature is '- (void)selectItemWithObjectValue:(id)anObject'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void SelectItemWithObjectValue(
	Id anObject
)
Public Overridable Sub SelectItemWithObjectValue ( _
	anObject As Id _
)
public:
virtual void SelectItemWithObjectValue(
	Id^ anObject
)
Parameters
anObject (Id)
The object to select in the pop-up list. Objects are considered equal if they have the same id or if isEqual: returns YES.
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)