NSString.Compare Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
Compare(NSString) |
Compara isso lexicamente com a cadeia de caracteres especificada. |
Compare(NSString, NSStringCompareOptions) | |
Compare(NSString, NSStringCompareOptions, NSRange) | |
Compare(NSString, NSStringCompareOptions, NSRange, NSLocale) |
Compare(NSString)
Compara isso lexicamente com a cadeia de caracteres especificada.
[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
Parâmetros
- aString
- NSString
A cadeia de caracteres com a qual comparar.
Retornos
- Atributos
Aplica-se 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
Parâmetros
- aString
- NSString
A cadeia de caracteres com a qual comparar.
Sinalizadores de comparação.
Retornos
- Atributos
Aplica-se 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
Parâmetros
- aString
- NSString
A cadeia de caracteres com a qual comparar.
Sinalizadores de comparação.
- range
- NSRange
Retornos
- Atributos
Aplica-se 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
Parâmetros
- aString
- NSString
A cadeia de caracteres com a qual comparar.
Sinalizadores de comparação.
- range
- NSRange
Retornos
- Atributos