MonobjcMonobjc Documented Class Library
ItemNumberInTextListAtIndex Method (__target, list, location)
NamespacesMonobjc.AppKitNSAttributedString_AppKitAdditionsItemNumberInTextListAtIndex(NSAttributedString, NSTextList, NSUInteger)

Returns the range of the item at the given index within the given list.

Original signature is '- (NSInteger)itemNumberInTextList:(NSTextList *)list atIndex:(NSUInteger)location'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSInteger ItemNumberInTextListAtIndex(
	this NSAttributedString __target,
	NSTextList list,
	NSUInteger location
<ExtensionAttribute> _
Public Shared Function ItemNumberInTextListAtIndex ( _
	__target As NSAttributedString, _
	list As NSTextList, _
	location As NSUInteger _
) As NSInteger
static NSInteger ItemNumberInTextListAtIndex(
	NSAttributedString^ __target, 
	NSTextList^ list, 
	NSUInteger location
__target (NSAttributedString)
The target instance.
list (NSTextList)
location (NSUInteger)
Return Value

[Missing <returns> documentation for "M:Monobjc.AppKit.NSAttributedString_AppKitAdditions.ItemNumberInTextListAtIndex(Monobjc.Foundation.NSAttributedString,Monobjc.AppKit.NSTextList,Monobjc.Foundation.NSUInteger)"]

Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type NSAttributedString. When you use instance method syntax to call this method, omit the first parameter.
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)