Bewerken

Delen via


UIResponder.Paste Method

Definition

Overloads

Paste(NSItemProvider[])

Called to perform a paste operation from .

Paste(NSObject)

Indicates a "Paste" editing operation.

Paste(NSItemProvider[])

Called to perform a paste operation from .

[Foundation.Export("pasteItemProviders:")]
[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 Paste (Foundation.NSItemProvider[] itemProviders);
abstract member Paste : Foundation.NSItemProvider[] -> unit
override this.Paste : Foundation.NSItemProvider[] -> unit

Parameters

itemProviders
NSItemProvider[]
Attributes

Applies to

Paste(NSObject)

Indicates a "Paste" editing operation.

[Foundation.Export("paste:")]
public virtual void Paste (Foundation.NSObject sender);
abstract member Paste : Foundation.NSObject -> unit
override this.Paste : Foundation.NSObject -> unit

Parameters

sender
NSObject

Object calling this method.

This parameter can be null.

Attributes

Remarks

Applications overriding this method should probe the UIPasteboard and try to fetch the information available there and insert it.

Applies to