NSString.Compare Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
Compare(NSString) |
Viene confrontata in modo lessicale con la stringa specificata. |
Compare(NSString, NSStringCompareOptions) | |
Compare(NSString, NSStringCompareOptions, NSRange) | |
Compare(NSString, NSStringCompareOptions, NSRange, NSLocale) |
Compare(NSString)
Viene confrontata in modo lessicale con la stringa specificata.
[Foundation.Export("compare:")]
public virtual Foundation.NSComparisonResult Compare (Foundation.NSString aString);
abstract member Compare : Foundation.NSString -> Foundation.NSComparisonResult
override this.Compare : Foundation.NSString -> Foundation.NSComparisonResult
Parametri
- aString
- NSString
Stringa da confrontare.
Restituisce
- Attributi
Si applica a
Compare(NSString, NSStringCompareOptions)
[Foundation.Export("compare:options:")]
public virtual Foundation.NSComparisonResult Compare (Foundation.NSString aString, Foundation.NSStringCompareOptions mask);
abstract member Compare : Foundation.NSString * Foundation.NSStringCompareOptions -> Foundation.NSComparisonResult
override this.Compare : Foundation.NSString * Foundation.NSStringCompareOptions -> Foundation.NSComparisonResult
Parametri
- aString
- NSString
Stringa da confrontare.
Flag di confronto.
Restituisce
- Attributi
Si applica a
Compare(NSString, NSStringCompareOptions, NSRange)
[Foundation.Export("compare:options:range:")]
public virtual Foundation.NSComparisonResult Compare (Foundation.NSString aString, Foundation.NSStringCompareOptions mask, Foundation.NSRange range);
abstract member Compare : Foundation.NSString * Foundation.NSStringCompareOptions * Foundation.NSRange -> Foundation.NSComparisonResult
override this.Compare : Foundation.NSString * Foundation.NSStringCompareOptions * Foundation.NSRange -> Foundation.NSComparisonResult
Parametri
- aString
- NSString
Stringa da confrontare.
Flag di confronto.
- range
- NSRange
Restituisce
- Attributi
Si applica a
Compare(NSString, NSStringCompareOptions, NSRange, NSLocale)
[Foundation.Export("compare:options:range:locale:")]
public virtual Foundation.NSComparisonResult Compare (Foundation.NSString aString, Foundation.NSStringCompareOptions mask, Foundation.NSRange range, Foundation.NSLocale locale);
abstract member Compare : Foundation.NSString * Foundation.NSStringCompareOptions * Foundation.NSRange * Foundation.NSLocale -> Foundation.NSComparisonResult
override this.Compare : Foundation.NSString * Foundation.NSStringCompareOptions * Foundation.NSRange * Foundation.NSLocale -> Foundation.NSComparisonResult
Parametri
- aString
- NSString
Stringa da confrontare.
Flag di confronto.
- range
- NSRange
Restituisce
- Attributi