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

属性

适用于