MonobjcMonobjc Documented Class Library
TokenFieldHasMenuForRepresentedObjectMessage Method (tokenField, representedObject)
NamespacesMonobjc.AppKitNSTokenField..::..NSTokenFieldDelegateEventDispatcherTokenFieldHasMenuForRepresentedObjectMessage(NSTokenField, Id)

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

Original signature is '- (BOOL)tokenField:(NSTokenField *)tokenField hasMenuForRepresentedObject:(id)representedObject'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public bool TokenFieldHasMenuForRepresentedObjectMessage(
	NSTokenField tokenField,
	Id representedObject
)
Public Function TokenFieldHasMenuForRepresentedObjectMessage ( _
	tokenField As NSTokenField, _
	representedObject As Id _
) As Boolean
public:
bool TokenFieldHasMenuForRepresentedObjectMessage(
	NSTokenField^ tokenField, 
	Id^ representedObject
)
Parameters
tokenField (NSTokenField)
The token field 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)