Share via


NSTextCheckingResult.PhoneNumberCheckingResult(NSRange, String) 方法

定义

[Foundation.Export("phoneNumberCheckingResultWithRange:phoneNumber:")]
public static Foundation.NSTextCheckingResult PhoneNumberCheckingResult (Foundation.NSRange range, string phoneNumber);
[Foundation.Export("phoneNumberCheckingResultWithRange:phoneNumber:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 7, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSTextCheckingResult PhoneNumberCheckingResult (Foundation.NSRange range, string phoneNumber);
static member PhoneNumberCheckingResult : Foundation.NSRange * string -> Foundation.NSTextCheckingResult

参数

range
NSRange
phoneNumber
String

返回

属性

适用于