MKAnnotationView.Annotation MKAnnotationView.Annotation Property

Definition

Gets or sets the annotation object for the view.

[ObjCRuntime.ThreadSafe]
[get: Foundation.Export("annotation", ObjCRuntime.ArgumentSemantic.Strong)]
[set: Foundation.Export("setAnnotation:", ObjCRuntime.ArgumentSemantic.Strong)]
public virtual MapKit.IMKAnnotation Annotation { get; set; }
member this.Annotation : MapKit.IMKAnnotation with get, set

Property Value

Remarks

Developers should not set this property. The property value is non-null only when the annotation is visible.

This can be used from a background thread.

Applies to