Sdílet prostřednictvím


UITextInput_Extensions.GetCharacterOffsetOfPosition Method

Definition

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

position
UITextPosition
range
UITextRange

Returns

IntPtr

nativeint

Attributes

Applies to