MonobjcMonobjc Documented Class Library
LocalizedCaseInsensitiveCompare Method (aString)

Returns an NSComparisonResult value that indicates the lexical ordering of the receiver and a given string using a case-insensitive, localized, comparison.

Original signature is '- (NSComparisonResult)localizedCaseInsensitiveCompare:(NSString *)aString'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSComparisonResult LocalizedCaseInsensitiveCompare(
	NSString aString
Public Overridable Function LocalizedCaseInsensitiveCompare ( _
	aString As NSString _
) As NSComparisonResult
virtual NSComparisonResult LocalizedCaseInsensitiveCompare(
	NSString^ aString
aString (NSString)
The string with which to compare the receiver.
Return Value
NSOrderedAscending the receiver precedes aString in lexical ordering, NSOrderedSame the receiver and aString are equivalent in lexical value, and NSOrderedDescending if the receiver follows aString.
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)