MKMapView.SelectedAnnotations Property

Definition

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.

Attributes

Remarks

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

Applies to