MonobjcMonobjc Documented Class Library
CorrectionCheckingResultWithRangeReplacementString Method (range, replacementString)
NamespacesMonobjc.FoundationNSTextCheckingResultCorrectionCheckingResultWithRangeReplacementString(NSRange, NSString)

Creates and returns a text checking result after detecting a possible correction.

Original signature is '+ (NSTextCheckingResult *)correctionCheckingResultWithRange:(NSRange)range replacementString:(NSString *)replacementString'

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSTextCheckingResult CorrectionCheckingResultWithRangeReplacementString(
	NSRange range,
	NSString replacementString
)
Public Shared Function CorrectionCheckingResultWithRangeReplacementString ( _
	range As NSRange, _
	replacementString As NSString _
) As NSTextCheckingResult
public:
static NSTextCheckingResult^ CorrectionCheckingResultWithRangeReplacementString(
	NSRange range, 
	NSString^ replacementString
)
Parameters
range (NSRange)
The range of the detected result.
replacementString (NSString)
The suggested replacement string.
Return Value
Returns an NSTextCheckingResult with the specified range and a resultType of NSTextCheckingTypeSpelling.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)