MonobjcMonobjc Documented Class Library
GetParagraphStartEndContentsEndForRange Method (startIndex, endIndex, contentsEndIndex, aRange)
NamespacesMonobjc.FoundationNSStringGetParagraphStartEndContentsEndForRange(NSUInteger%, NSUInteger%, NSUInteger%, NSRange)

Returns by reference the beginning of the first paragraph and the end of the last paragraph touched by the given range.

Original signature is '- (void)getParagraphStart:(NSUInteger *)startIndex end:(NSUInteger *)endIndex contentsEnd:(NSUInteger *)contentsEndIndex forRange:(NSRange)aRange'

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void GetParagraphStartEndContentsEndForRange(
	ref NSUInteger startIndex,
	ref NSUInteger endIndex,
	ref NSUInteger contentsEndIndex,
	NSRange aRange
)
Public Overridable Sub GetParagraphStartEndContentsEndForRange ( _
	ByRef startIndex As NSUInteger, _
	ByRef endIndex As NSUInteger, _
	ByRef contentsEndIndex As NSUInteger, _
	aRange As NSRange _
)
public:
virtual void GetParagraphStartEndContentsEndForRange(
	NSUInteger% startIndex, 
	NSUInteger% endIndex, 
	NSUInteger% contentsEndIndex, 
	NSRange aRange
)
Parameters
startIndex (NSUInteger%)
Upon return, contains the index of the first character of the paragraph containing the beginning of aRange. Pass NULL if you do not need this value (in which case the work to compute the value isn’t performed).
endIndex (NSUInteger%)
Upon return, contains the index of the first character past the terminator of the paragraph containing the end of aRange. Pass NULL if you do not need this value (in which case the work to compute the value isn’t performed).
contentsEndIndex (NSUInteger%)
Upon return, contains the index of the first character of the terminator of the paragraph containing the end of aRange. Pass NULL if you do not need this value (in which case the work to compute the value isn’t performed).
aRange (NSRange)
A range within the receiver. The value must not exceed the bounds of the receiver.
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)