Condividi tramite


MKMapView.Register Metodo

Definizione

Overload

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

Parametri

viewClass
Class

Da aggiungere.

Questo parametro può essere null.

identifier
String
Attributi

Si applica 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

Parametri

viewType
Type
identifier
String
Attributi

Si applica a