Bewerken

Delen via


UIPasteboard.SetObjects Method

Definition

Overloads

SetObjects(INSItemProviderWriting[])

Sets the item provider array to the specified objects.

SetObjects(INSItemProviderWriting[], Boolean, NSDate)

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

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

Attributes

Applies to

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
expirationDate
NSDate

To be added.

This parameter can be null.

Attributes

Applies to