UITextInput_Extensions.GetCharacterOffsetOfPosition Method
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.
Calculates and returns the offset into range of the character that is in position in the document.
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static IntPtr GetCharacterOffsetOfPosition(this UIKit.IUITextInput This, UIKit.UITextPosition position, UIKit.UITextRange range);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member GetCharacterOffsetOfPosition : UIKit.IUITextInput * UIKit.UITextPosition * UIKit.UITextRange -> nativeint
Parameters
- This
- IUITextInput
- position
- UITextPosition
- range
- UITextRange
Returns
IntPtr
nativeint
- Attributes