NSFormatter.IsPartialStringValid 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
IsPartialStringValid(String, String, NSString) | |
IsPartialStringValid(String, NSRange, String, NSRange, NSString) |
已淘汰.
|
IsPartialStringValid(String, NSRange, String, NSRange, String) |
IsPartialStringValid(String, String, NSString)
[Foundation.Export("isPartialStringValid:newEditingString:errorDescription:")]
public virtual bool IsPartialStringValid (string partialString, out string newString, out Foundation.NSString error);
abstract member IsPartialStringValid : string * * -> bool
override this.IsPartialStringValid : string * * -> bool
參數
- partialString
- String
- newString
- String
- error
- NSString
傳回
- 屬性
適用於
IsPartialStringValid(String, NSRange, String, NSRange, NSString)
警告
Use 'IsPartialStringValid (ref string partialString, out NSRange proposedSelRange, string origString, NSRange origSelRange, out string error)' instead.
[System.Obsolete("Use 'IsPartialStringValid (ref string partialString, out NSRange proposedSelRange, string origString, NSRange origSelRange, out string error)' instead.")]
public virtual bool IsPartialStringValid (out string partialString, out Foundation.NSRange proposedSelRange, string origString, Foundation.NSRange origSelRange, out Foundation.NSString error);
abstract member IsPartialStringValid : * * string * Foundation.NSRange * -> bool
override this.IsPartialStringValid : * * string * Foundation.NSRange * -> bool
參數
- partialString
- String
- proposedSelRange
- NSRange
- origString
- String
- origSelRange
- NSRange
- error
- NSString
傳回
- 屬性
適用於
IsPartialStringValid(String, NSRange, String, NSRange, String)
[Foundation.Export("isPartialStringValid:proposedSelectedRange:originalString:originalSelectedRange:errorDescription:")]
public virtual bool IsPartialStringValid (ref string partialString, out Foundation.NSRange proposedSelRange, string origString, Foundation.NSRange origSelRange, out string error);
abstract member IsPartialStringValid : * * string * Foundation.NSRange * -> bool
override this.IsPartialStringValid : * * string * Foundation.NSRange * -> bool
參數
- partialString
- String
- proposedSelRange
- NSRange
- origString
- String
- origSelRange
- NSRange
- error
- String
傳回
- 屬性