NSString.CommonPrefix(NSString, NSStringCompareOptions) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
[Foundation.Export("commonPrefixWithString:options:")]
public virtual Foundation.NSString CommonPrefix (Foundation.NSString aString, Foundation.NSStringCompareOptions options);
abstract member CommonPrefix : Foundation.NSString * Foundation.NSStringCompareOptions -> Foundation.NSString
override this.CommonPrefix : Foundation.NSString * Foundation.NSStringCompareOptions -> Foundation.NSString
參數
- aString
- NSString
- options
- NSStringCompareOptions
傳回
- 屬性