IUITextInputTokenizer Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This interface represents the Objective-C protocol UITextInputTokenizer.
[Foundation.Protocol(Name="UITextInputTokenizer", WrapperType=typeof(UIKit.UITextInputTokenizerWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetRangeEnclosingPosition", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextPosition), typeof(UIKit.UITextGranularity), typeof(UIKit.UITextDirection) }, ReturnType=typeof(UIKit.UITextRange), Selector="rangeEnclosingPosition:withGranularity:inDirection:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="ProbeDirection", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextPosition), typeof(UIKit.UITextGranularity), typeof(UIKit.UITextDirection) }, ReturnType=typeof(System.Boolean), Selector="isPosition:atBoundary:inDirection:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetPosition", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextPosition), typeof(UIKit.UITextGranularity), typeof(UIKit.UITextDirection) }, ReturnType=typeof(UIKit.UITextPosition), Selector="positionFromPosition:toBoundary:inDirection:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="ProbeDirectionWithinTextUnit", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextPosition), typeof(UIKit.UITextGranularity), typeof(UIKit.UITextDirection) }, ReturnType=typeof(System.Boolean), Selector="isPosition:withinTextUnit:inDirection:")]
public interface IUITextInputTokenizer : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="UITextInputTokenizer", WrapperType=typeof(UIKit.UITextInputTokenizerWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetRangeEnclosingPosition", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextPosition), typeof(UIKit.UITextGranularity), typeof(UIKit.UITextDirection) }, ReturnType=typeof(UIKit.UITextRange), Selector="rangeEnclosingPosition:withGranularity:inDirection:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="ProbeDirection", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextPosition), typeof(UIKit.UITextGranularity), typeof(UIKit.UITextDirection) }, ReturnType=typeof(System.Boolean), Selector="isPosition:atBoundary:inDirection:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetPosition", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextPosition), typeof(UIKit.UITextGranularity), typeof(UIKit.UITextDirection) }, ReturnType=typeof(UIKit.UITextPosition), Selector="positionFromPosition:toBoundary:inDirection:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="ProbeDirectionWithinTextUnit", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextPosition), typeof(UIKit.UITextGranularity), typeof(UIKit.UITextDirection) }, ReturnType=typeof(System.Boolean), Selector="isPosition:withinTextUnit:inDirection:")>]
type IUITextInputTokenizer = interface
interface INativeObject
interface IDisposable
- Derived
- 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 |
|---|---|
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from INativeObject) |
Methods
| Name | Description |
|---|---|
| GetPosition(UITextPosition, UITextGranularity, UITextDirection) |
Returns the next |
| GetRangeEnclosingPosition(UITextPosition, UITextGranularity, UITextDirection) |
The range for the text enclosing a text position in a text unit of the specified granularity in the specified direction. |
| ProbeDirection(UITextPosition, UITextGranularity, UITextDirection) |
Returns whether the |
| ProbeDirectionWithinTextUnit(UITextPosition, UITextGranularity, UITextDirection) |
Returns whether the |
Extension Methods
| Name | Description |
|---|---|
| GetHandle(INativeObject) | |
| GetNonNullHandle(INativeObject, String) | |