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

属性

适用于