MonobjcMonobjc Documented Class Library
LineRangeForRange Method (aRange)
NamespacesMonobjc.FoundationNSStringLineRangeForRange(NSRange)

Returns the range of characters representing the line or lines containing a given range.

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

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSRange LineRangeForRange(
	NSRange aRange
)
Public Overridable Function LineRangeForRange ( _
	aRange As NSRange _
) As NSRange
public:
virtual NSRange LineRangeForRange(
	NSRange aRange
)
Parameters
aRange (NSRange)
A range within the receiver.
Return Value
The range of characters representing the line or lines containing aRange, including the line 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)