共用方式為


UIPasteboard.SetItems 方法

定義

多載

SetItems(NSDictionary<NSString,NSObject>[], UIPasteboardOptions)

將 新增至貼上板。

SetItems(NSDictionary<NSString,NSObject>[], NSDictionary)

將 新增至貼上板,並具有指定的隱私權 。

SetItems(NSDictionary<NSString,NSObject>[], UIPasteboardOptions)

將 新增至貼上板。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public void SetItems (Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject>[] items, UIKit.UIPasteboardOptions pasteboardOptions);
member this.SetItems : Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject>[] * UIKit.UIPasteboardOptions -> unit

參數

pasteboardOptions
UIPasteboardOptions
屬性

適用於

SetItems(NSDictionary<NSString,NSObject>[], NSDictionary)

將 新增至貼上板,並具有指定的隱私權 。

[Foundation.Export("setItems:options:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetItems (Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject>[] items, Foundation.NSDictionary options);
abstract member SetItems : Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject>[] * Foundation.NSDictionary -> unit
override this.SetItems : Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject>[] * Foundation.NSDictionary -> unit

參數

options
NSDictionary
屬性

適用於