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

返回

属性

适用于