MKMapView.SelectedAnnotations MKMapView.SelectedAnnotations Property


An array containing the curently selected annotations.

[get: Foundation.Export("selectedAnnotations", ObjCRuntime.ArgumentSemantic.Copy)]
[set: Foundation.Export("setSelectedAnnotations:", ObjCRuntime.ArgumentSemantic.Copy)]
public virtual MapKit.IMKAnnotation[] SelectedAnnotations { get; set; }
member this.SelectedAnnotations : MapKit.IMKAnnotation[] with get, set

Property Value

This value can be null.


When setting this property, only the first annotation in the array will be selected.

Applies to