MKAnnotationView.Annotation 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置视图的批注对象。
[ObjCRuntime.ThreadSafe]
public virtual MapKit.IMKAnnotation Annotation { [Foundation.Export("annotation", ObjCRuntime.ArgumentSemantic.Strong)] get; [Foundation.Export("setAnnotation:", ObjCRuntime.ArgumentSemantic.Strong)] set; }
member this.Annotation : MapKit.IMKAnnotation with get, set
属性值
- 属性
注解
开发人员不应设置此属性。 属性值不是仅null
当批注可见时。
这可以从后台线程使用。