UIPasteboard.Image 属性

定义

检索或设置第一个粘贴板项的图像。

public virtual UIKit.UIImage Image { [Foundation.Export("image", ObjCRuntime.ArgumentSemantic.Copy)] get; [Foundation.Export("setImage:", ObjCRuntime.ArgumentSemantic.Copy)] set; }
member this.Image : UIKit.UIImage with get, set

属性值

粘贴板上的图像。

此值可为 null

属性

注解

使用此选项可将粘贴板内容设置为 UIImage。

若要将粘贴板内容设置为一组图像,请使用 Images。 属性中找到的值。

若要将粘贴板内容设置为 NSString、、NSArrayNSDictionaryNSDateNSNumber或 , UIImageNSUrlSetValue(NSObject, String)请使用 。

若要将值设置为任意数据类型,请使用 M:UIKit.UIPasteBoard.SetData*

适用于