MonobjcMonobjc Documented Class Library
SelectItemWithTag Method (tag)
NamespacesMonobjc.AppKitNSPopUpButtonSelectItemWithTag(NSInteger)

Selects the menu item with the specified tag.

Original signature is '- (BOOL)selectItemWithTag:(NSInteger)tag'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool SelectItemWithTag(
	NSInteger tag
)
Public Overridable Function SelectItemWithTag ( _
	tag As NSInteger _
) As Boolean
public:
virtual bool SelectItemWithTag(
	NSInteger tag
)
Parameters
tag (NSInteger)
The tag of the item you want to select.
Return Value
YES if the item was successfully selected; otherwise, NO.
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)