共用方式為


UIPasteboard.SetObjects 方法

定義

多載

SetObjects(INSItemProviderWriting[])

將專案提供者陣列設定為指定的 objects

SetObjects(INSItemProviderWriting[], Boolean, NSDate)

使用指定的 objects 詳細資料,將專案提供者陣列設定為指定的 。

SetObjects(INSItemProviderWriting[])

將專案提供者陣列設定為指定的 objects

[Foundation.Export("setObjects:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetObjects (Foundation.INSItemProviderWriting[] objects);
abstract member SetObjects : Foundation.INSItemProviderWriting[] -> unit
override this.SetObjects : Foundation.INSItemProviderWriting[] -> unit

參數

屬性

適用於

SetObjects(INSItemProviderWriting[], Boolean, NSDate)

使用指定的 objects 詳細資料,將專案提供者陣列設定為指定的 。

[Foundation.Export("setObjects:localOnly:expirationDate:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetObjects (Foundation.INSItemProviderWriting[] objects, bool localOnly, Foundation.NSDate expirationDate);
abstract member SetObjects : Foundation.INSItemProviderWriting[] * bool * Foundation.NSDate -> unit
override this.SetObjects : Foundation.INSItemProviderWriting[] * bool * Foundation.NSDate -> unit

參數

localOnly
Boolean
expirationDate
NSDate

即將加入。

這個參數可以是 null

屬性

適用於