Compartir a través de


MKMapView.Register Método

Definición

Sobrecargas

Register(Class, String)
Register(Type, String)

Register(Class, String)

[Foundation.Export("registerClass:forAnnotationViewWithReuseIdentifier:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public virtual void Register (ObjCRuntime.Class viewClass, string identifier);
abstract member Register : ObjCRuntime.Class * string -> unit
override this.Register : ObjCRuntime.Class * string -> unit

Parámetros

viewClass
Class

Se agregará.

Este parámetro puede ser null.

identifier
String
Atributos

Se aplica a

Register(Type, String)

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public void Register (Type viewType, string identifier);
member this.Register : Type * string -> unit

Parámetros

viewType
Type
identifier
String
Atributos

Se aplica a