MonobjcMonobjc Documented Class Library
GrammarCheckingResultWithRangeDetails Method (range, details)
NamespacesMonobjc.FoundationNSTextCheckingResultGrammarCheckingResultWithRangeDetails(NSRange, NSArray)

Creates and returns a text checking result after a grammar error.

Original signature is '+ (NSTextCheckingResult *)grammarCheckingResultWithRange:(NSRange)range details:(NSArray *)details'

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSTextCheckingResult GrammarCheckingResultWithRangeDetails(
	NSRange range,
	NSArray details
)
Public Shared Function GrammarCheckingResultWithRangeDetails ( _
	range As NSRange, _
	details As NSArray _
) As NSTextCheckingResult
public:
static NSTextCheckingResult^ GrammarCheckingResultWithRangeDetails(
	NSRange range, 
	NSArray^ details
)
Parameters
range (NSRange)
The range of the detected result.
details (NSArray)
An array of details regarding the grammatical errors. This array of strings is suitable for presenting to the user.
Return Value
Returns an NSTextCheckingResult with the specified range and a resultType of NSTextCheckingTypeGrammar.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

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