共用方式為


UIPasteboard.SetItemProviders(NSItemProvider[], Boolean, NSDate) 方法

定義

使用指定的詳細資料設定專案提供者。

[Foundation.Export("setItemProviders: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 SetItemProviders (Foundation.NSItemProvider[] itemProviders, bool localOnly, Foundation.NSDate expirationDate);
abstract member SetItemProviders : Foundation.NSItemProvider[] * bool * Foundation.NSDate -> unit
override this.SetItemProviders : Foundation.NSItemProvider[] * bool * Foundation.NSDate -> unit

參數

itemProviders
NSItemProvider[]

要設定的專案提供者陣列。

localOnly
Boolean
expirationDate
NSDate

即將加入。

這個參數可以是 null

屬性

適用於