Share via


IUITextPasteItem インターフェイス

定義

テキスト項目の貼り付けとドロップを操作するためのインターフェイス。

[Foundation.Protocol(Name="UITextPasteItem", WrapperType=typeof(UIKit.UITextPasteItemWrapper))]
[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 interface IUITextPasteItem : IDisposable, ObjCRuntime.INativeObject
type IUITextPasteItem = interface
    interface INativeObject
    interface IDisposable
属性
実装

プロパティ

DefaultAttributes

プレーン テキストの貼り付け項目の既定の属性を取得します。

Handle

アンマネージ オブジェクト表現へのハンドル (ポインター)。

(継承元 INativeObject)
ItemProvider

貼り付け項目のテキスト データを提供するプロバイダーを取得します。

LocalObject

アイテムがリフトされたときに添付されたコンテキスト オブジェクト (存在する場合) を取得します。

メソッド

SetAttachmentResult(NSTextAttachment)

添付結果を指定した添付ファイルに設定します。

SetAttributedStringResult(NSAttributedString)

貼り付け項目の文字列値を設定します。

SetDefaultResult()

テキスト項目の貼り付けとドロップを操作するためのインターフェイス。

SetNoResult()

テキスト値がプロバイダーによって提供されないようにします。

SetStringResult(String)

テキストの結果を設定します。

適用対象