UIPasteboard.SetObjects UIPasteboard.SetObjects Method

Definition

Overloads

SetObjects(INSItemProviderWriting[]) SetObjects(INSItemProviderWriting[])

Sets the item provider array to the specified objects.

SetObjects(INSItemProviderWriting[], Boolean, NSDate) SetObjects(INSItemProviderWriting[], Boolean, NSDate)

Sets the item provider array to the specified objects with the specified details.

SetObjects(INSItemProviderWriting[]) SetObjects(INSItemProviderWriting[])

Sets the item provider array to the specified 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

Parameters

SetObjects(INSItemProviderWriting[], Boolean, NSDate) SetObjects(INSItemProviderWriting[], Boolean, NSDate)

Sets the item provider array to the specified objects with the specified details.

[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

Parameters

localOnly
Boolean Boolean
expirationDate
NSDate NSDate

To be added.

This parameter can be null.

Applies to