Freigeben über


UIPasteboard.SetItemProviders(NSItemProvider[], Boolean, NSDate) Methode

Definition

Legt die Elementanbieter mithilfe der angegebenen Details fest.

[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

Parameter

itemProviders
NSItemProvider[]

Das Array der festzulegenden Elementanbieter.

localOnly
Boolean
expirationDate
NSDate

Muss hinzugefügt werden.

Dieser Parameter kann null sein.

Attribute

Gilt für: