MKMapView.SelectedAnnotations Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.