編輯

共用方式為


MKMapView.Annotations Property

Definition

Returns all the annotations associated with a map.

public virtual MapKit.IMKAnnotation[] Annotations { [Foundation.Export("annotations")] get; }
member this.Annotations : MapKit.IMKAnnotation[]

Property Value

Attributes

Remarks

The returned NSObjects are either instances of MKShape, MKUserLocation, MKPlacemark. You can use the C# "is" or "as" operators to turn the individual objects into one of the above.

Applies to