MKMapView.Register 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
参数
- identifier
- String
- 属性
适用于
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
参数
- viewType
- Type
- identifier
- String
- 属性