MonobjcMonobjc Documented Class Library
ParagraphRangeForRange Method (aRange)
NamespacesMonobjc.FoundationNSStringParagraphRangeForRange(NSRange)

Returns the range of characters representing the paragraph or paragraphs containing a given range.

Original signature is '- (NSRange)paragraphRangeForRange:(NSRange)aRange'

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSRange ParagraphRangeForRange(
	NSRange aRange
)
Public Overridable Function ParagraphRangeForRange ( _
	aRange As NSRange _
) As NSRange
public:
virtual NSRange ParagraphRangeForRange(
	NSRange aRange
)
Parameters
aRange (NSRange)
A range within the receiver. The range must not exceed the bounds of the receiver.
Return Value
The range of characters representing the paragraph or paragraphs containing aRange, including the paragraph termination characters.
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.Foundation (Module: Monobjc.Foundation)