共用方式為


NSFormatter.IsPartialStringValid 方法

定義

多載

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

傳回

屬性

適用於