Returns the range of the individual text block that contains the given location.
Original signature is '- (NSRange)rangeOfTextBlock:(NSTextBlock *)block atIndex:(NSUInteger)location'
Available in Mac OS X v10.4 and later.

C# | Visual Basic | Visual C++ |
public static NSRange RangeOfTextBlockAtIndex( this NSAttributedString __target, NSTextBlock block, NSUInteger location )
<ExtensionAttribute> _ Public Shared Function RangeOfTextBlockAtIndex ( _ __target As NSAttributedString, _ block As NSTextBlock, _ location As NSUInteger _ ) As NSRange
[ExtensionAttribute] public: static NSRange RangeOfTextBlockAtIndex( NSAttributedString^ __target, NSTextBlock^ block, NSUInteger location )

- __target (NSAttributedString)
- The target instance.
- block (NSTextBlock)
- MISSING
- location (NSUInteger)
- MISSING

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

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.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)