다음을 통해 공유


MKMapView.Register 메서드

정의

오버로드

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

매개 변수

viewClass
Class

추가될 예정입니다.

이 매개 변수는 null일 수 있습니다.

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
특성

적용 대상