MonobjcMonobjc Documented Class Library
TokenFieldCellShouldAddObjectsAtIndex Method (tokenFieldCell, tokens, index)
NamespacesMonobjc.AppKitINSTokenFieldCellDelegateTokenFieldCellShouldAddObjectsAtIndex(NSTokenFieldCell, NSArray, NSUInteger)

Allows the delegate to validate the tokens to be added to the receiver at a given index.

Original signature is '- (NSArray *)tokenFieldCell:(NSTokenFieldCell *)tokenFieldCell shouldAddObjects:(NSArray *)tokens atIndex:(NSUInteger)index'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
NSArray TokenFieldCellShouldAddObjectsAtIndex(
	NSTokenFieldCell tokenFieldCell,
	NSArray tokens,
	NSUInteger index
Function TokenFieldCellShouldAddObjectsAtIndex ( _
	tokenFieldCell As NSTokenFieldCell, _
	tokens As NSArray, _
	index As NSUInteger _
) As NSArray
NSArray^ TokenFieldCellShouldAddObjectsAtIndex(
	NSTokenFieldCell^ tokenFieldCell, 
	NSArray^ tokens, 
	NSUInteger index
tokenFieldCell (NSTokenFieldCell)
The token field cell that sent the message.
tokens (NSArray)
An array of tokens to be inserted in the receiver at index.
index (NSUInteger)
The index of the receiver in which the array of tokens to be validated (tokens) will be inserted.
Return Value
An array of validated tokens.
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)