Share via


IUISearchTextFieldPasteItem Interface

Definition

This interface represents the Objective-C protocol UISearchTextFieldPasteItem.

[Foundation.Protocol(Name="UISearchTextFieldPasteItem", WrapperType=typeof(UIKit.UISearchTextFieldPasteItemWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetSearchTokenResult", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UISearchToken) }, Selector="setSearchTokenResult:")]
public interface IUISearchTextFieldPasteItem : IDisposable, UIKit.IUITextPasteItem
[<Foundation.Protocol(Name="UISearchTextFieldPasteItem", WrapperType=typeof(UIKit.UISearchTextFieldPasteItemWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetSearchTokenResult", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UISearchToken) }, Selector="setSearchTokenResult:")>]
type IUISearchTextFieldPasteItem = interface
    interface INativeObject
    interface IDisposable
    interface IUITextPasteItem
Attributes
Implements

Remarks

A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.

A class may also implement members from this interface to implement members from the protocol.

Properties

Name Description
DefaultAttributes

Gets the default attributes for plain text paste items.

(Inherited from IUITextPasteItem)
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
ItemProvider

Gets the provider that provides the text data for the paste item.

(Inherited from IUITextPasteItem)
LocalObject

Gets the context object, if present, that was attached to the item when it was lifted.

(Inherited from IUITextPasteItem)

Methods

Name Description
SetAttachmentResult(NSTextAttachment)

Sets the attachement result to the specified attachment.

(Inherited from IUITextPasteItem)
SetAttributedStringResult(NSAttributedString)

Sets the string value of the paste item.

(Inherited from IUITextPasteItem)
SetDefaultResult() (Inherited from IUITextPasteItem)
SetNoResult()

Causes the text value to not be provided by its provider.

(Inherited from IUITextPasteItem)
SetSearchTokenResult(UISearchToken)
SetStringResult(String)

Sets the text result.

(Inherited from IUITextPasteItem)

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to