IUITextPasteItem Schnittstelle

Definition

Schnittstelle zum Arbeiten mit Einfüge- und Ablegen von Textelementen.

[Foundation.Protocol(Name="UITextPasteItem", WrapperType=typeof(UIKit.UITextPasteItemWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetStringResult", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.String) }, Selector="setStringResult:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetAttributedStringResult", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSAttributedString) }, Selector="setAttributedStringResult:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetAttachmentResult", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.NSTextAttachment) }, Selector="setAttachmentResult:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetNoResult", Selector="setNoResult")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetDefaultResult", Selector="setDefaultResult")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="itemProvider", IsProperty=true, IsRequired=true, IsStatic=false, Name="ItemProvider", PropertyType=typeof(Foundation.NSItemProvider), Selector="itemProvider")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="localObject", IsProperty=true, IsRequired=true, IsStatic=false, Name="LocalObject", PropertyType=typeof(Foundation.NSObject), Selector="localObject")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="defaultAttributes", IsProperty=true, IsRequired=true, IsStatic=false, Name="DefaultAttributes", PropertyType=typeof(Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject>), Selector="defaultAttributes")]
public interface IUITextPasteItem : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="UITextPasteItem", WrapperType=typeof(UIKit.UITextPasteItemWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetStringResult", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.String) }, Selector="setStringResult:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetAttributedStringResult", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSAttributedString) }, Selector="setAttributedStringResult:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetAttachmentResult", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.NSTextAttachment) }, Selector="setAttachmentResult:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetNoResult", Selector="setNoResult")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetDefaultResult", Selector="setDefaultResult")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="itemProvider", IsProperty=true, IsRequired=true, IsStatic=false, Name="ItemProvider", PropertyType=typeof(Foundation.NSItemProvider), Selector="itemProvider")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="localObject", IsProperty=true, IsRequired=true, IsStatic=false, Name="LocalObject", PropertyType=typeof(Foundation.NSObject), Selector="localObject")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="defaultAttributes", IsProperty=true, IsRequired=true, IsStatic=false, Name="DefaultAttributes", PropertyType=typeof(Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject>), Selector="defaultAttributes")>]
type IUITextPasteItem = interface
    interface INativeObject
    interface IDisposable
Abgeleitet
Attribute
Implementiert

Eigenschaften

Name Beschreibung
DefaultAttributes

Ruft die Standardattribute für Nur-Text-Einfügeelemente ab.

Handle

Handle (Zeiger) auf die nicht verwaltete Objektdarstellung.

(Geerbt von INativeObject)
ItemProvider

Ruft den Anbieter ab, der die Textdaten für das Einfügeelement bereitstellt.

LocalObject

Ruft das Kontextobjekt ab, falls vorhanden, das an das Element angefügt wurde, als es aufgehoben wurde.

Methoden

Name Beschreibung
SetAttachmentResult(NSTextAttachment)

Legt das Anlageergebnis auf die angegebene Anlage fest.

SetAttributedStringResult(NSAttributedString)

Legt den Zeichenfolgenwert des Einfügeelements fest.

SetDefaultResult()

Schnittstelle zum Arbeiten mit Einfüge- und Ablegen von Textelementen.

SetNoResult()

Bewirkt, dass der Textwert nicht vom Anbieter bereitgestellt wird.

SetStringResult(String)

Legt das Textergebnis fest.

Erweiterungsmethoden

Name Beschreibung
GetHandle(INativeObject)

Schnittstelle zum Arbeiten mit Einfüge- und Ablegen von Textelementen.

GetNonNullHandle(INativeObject, String)

Schnittstelle zum Arbeiten mit Einfüge- und Ablegen von Textelementen.

Gilt für: