共用方式為


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

參數

傳回

屬性

適用於