Editar

Compartilhar via


MKMapView.SelectedAnnotations Property

Definition

An array containing the curently selected annotations.

public virtual MapKit.IMKAnnotation[] SelectedAnnotations { [Foundation.Export("selectedAnnotations", ObjCRuntime.ArgumentSemantic.Copy)] get; [Foundation.Export("setSelectedAnnotations:", ObjCRuntime.ArgumentSemantic.Copy)] 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