Share via


NSValue.FromMKCoordinate(CLLocationCoordinate2D) Method

Definition

Creates an NSValue that stores a CLLocationCoordinate2D.

[Foundation.Export("valueWithMKCoordinate:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static Foundation.NSValue FromMKCoordinate(CoreLocation.CLLocationCoordinate2D coordinate);
[<Foundation.Export("valueWithMKCoordinate:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromMKCoordinate : CoreLocation.CLLocationCoordinate2D -> Foundation.NSValue

Parameters

Returns

Attributes

Applies to