MKMapView.Annotations 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.
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.