NSValue.FromMKCoordinate(CLLocationCoordinate2D) 方法

定义

创建存储 CLLocationCoordinate2D 的 NSValue。

[Foundation.Export("valueWithMKCoordinate:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 9, 2, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public static Foundation.NSValue FromMKCoordinate (CoreLocation.CLLocationCoordinate2D coordinate);
static member FromMKCoordinate : CoreLocation.CLLocationCoordinate2D -> Foundation.NSValue

参数

返回

属性

适用于