Editar

Compartilhar via


IMKAnnotation Interface

Definition

Interface representing the required methods (if any) of the protocol MKAnnotation.

[Foundation.Protocol(Name="MKAnnotation", WrapperType=typeof(MapKit.MKAnnotationWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public interface IMKAnnotation : IDisposable, ObjCRuntime.INativeObject
type IMKAnnotation = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by MKAnnotation.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the MKAnnotation protocol.

Optional methods (if any) are provided by the MKAnnotation_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Properties

Coordinate
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Extension Methods

GetSubtitle(IMKAnnotation)
GetTitle(IMKAnnotation)
SetCoordinate(IMKAnnotation, CLLocationCoordinate2D)

Applies to