Share via


IMKAnnotation Interface

Definition

Provides annotation information to the map view.

[Foundation.Protocol(Name="MKAnnotation", WrapperType=typeof(MapKit.MKAnnotationWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="SetCoordinate", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(CoreLocation.CLLocationCoordinate2D) }, Selector="setCoordinate:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="coordinate", IsProperty=true, IsRequired=true, IsStatic=false, Name="Coordinate", PropertyType=typeof(CoreLocation.CLLocationCoordinate2D), Selector="coordinate")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="title", IsProperty=true, IsRequired=false, IsStatic=false, Name="Title", PropertyType=typeof(System.String), Selector="title")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="subtitle", IsProperty=true, IsRequired=false, IsStatic=false, Name="Subtitle", PropertyType=typeof(System.String), Selector="subtitle")]
public interface IMKAnnotation : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="MKAnnotation", WrapperType=typeof(MapKit.MKAnnotationWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="SetCoordinate", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(CoreLocation.CLLocationCoordinate2D) }, Selector="setCoordinate:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="coordinate", IsProperty=true, IsRequired=true, IsStatic=false, Name="Coordinate", PropertyType=typeof(CoreLocation.CLLocationCoordinate2D), Selector="coordinate")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="title", IsProperty=true, IsRequired=false, IsStatic=false, Name="Title", PropertyType=typeof(System.String), Selector="title")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="subtitle", IsProperty=true, IsRequired=false, IsStatic=false, Name="Subtitle", PropertyType=typeof(System.String), Selector="subtitle")>]
type IMKAnnotation = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Properties

Name Description
Coordinate
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
Subtitle
Title

Methods

Name Description
SetCoordinate(CLLocationCoordinate2D)

Extension Methods

Name Description
GetSubtitle(IMKAnnotation)
GetTitle(IMKAnnotation)
SetCoordinate(IMKAnnotation, CLLocationCoordinate2D)
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to

See also