Returns the result of invoking compare:options:range: with a given mask as the options and the receiver’s full extent as the range.
Original signature is '- (NSComparisonResult)compare:(NSString *)aString options:(NSStringCompareOptions)mask'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual NSComparisonResult CompareOptions( NSString aString, NSStringCompareOptions mask )
Public Overridable Function CompareOptions ( _ aString As NSString, _ mask As NSStringCompareOptions _ ) As NSComparisonResult
public: virtual NSComparisonResult CompareOptions( NSString^ aString, NSStringCompareOptions mask )
Parameters
- aString (NSString)
- The string with which to compare the receiver.
- mask (NSStringCompareOptions)
- Options for the search—you can combine any of the following using a C bitwise OR operator: NSCaseInsensitiveSearch, NSLiteralSearch, NSNumericSearch. See String Programming Guide for details on these options.
Return Value
The result of invoking compare:options:range: with a given mask as the options and the receiver’s full extent as the range.
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)