Edit

Share via


MKAnnotationView.Annotation Property

Definition

Gets or sets the annotation object for the view.

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

Property Value

Attributes

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