Upravit

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.

public static nint GetCharacterOffsetOfPosition(this UIKit.IUITextInput This, UIKit.UITextPosition position, UIKit.UITextRange range);
static member GetCharacterOffsetOfPosition : UIKit.IUITextInput * UIKit.UITextPosition * UIKit.UITextRange -> nint

Parameters

This
IUITextInput

The instance on which this method operates.

position
UITextPosition
range
UITextRange

Returns

System.System.IntPtr System.nativeint

Applies to