Freigeben über


UIPasteboard.SetObjects Methode

Definition

Überlädt

SetObjects(INSItemProviderWriting[])

Legt das Elementanbieterarray auf den angegebenen objectsfest.

SetObjects(INSItemProviderWriting[], Boolean, NSDate)

Legt das Elementanbieterarray auf den angegebenen objects mit den angegebenen Details fest.

SetObjects(INSItemProviderWriting[])

Legt das Elementanbieterarray auf den angegebenen objectsfest.

[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

Parameter

Attribute

Gilt für:

SetObjects(INSItemProviderWriting[], Boolean, NSDate)

Legt das Elementanbieterarray auf den angegebenen objects mit den angegebenen Details fest.

[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

Parameter

localOnly
Boolean
expirationDate
NSDate

Muss hinzugefügt werden.

Dieser Parameter kann null sein.

Attribute

Gilt für: