MonobjcMonobjc Documented Class Library
TokenFieldCellHasMenuForRepresentedObject Method (tokenFieldCell, representedObject)
NamespacesMonobjc.AppKitINSTokenFieldCellDelegateTokenFieldCellHasMenuForRepresentedObject(NSTokenFieldCell, Id)

Allows the delegate to specify whether the represented object provides a menu.

Original signature is '- (BOOL)tokenFieldCell:(NSTokenFieldCell *)tokenFieldCell hasMenuForRepresentedObject:(id)representedObject'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
bool TokenFieldCellHasMenuForRepresentedObject(
	NSTokenFieldCell tokenFieldCell,
	Id representedObject
)
Function TokenFieldCellHasMenuForRepresentedObject ( _
	tokenFieldCell As NSTokenFieldCell, _
	representedObject As Id _
) As Boolean
bool TokenFieldCellHasMenuForRepresentedObject(
	NSTokenFieldCell^ tokenFieldCell, 
	Id^ representedObject
)
Parameters
tokenFieldCell (NSTokenFieldCell)
The token field cell that sent the message.
representedObject (Id)
A represented object of the token field.
Return Value
YES if the represented object has a menu, NO otherwise.
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)