Condividi tramite


UITextView.GetCharacterOffsetOfPosition(UITextPosition, UITextRange) Metodo

Definizione

Restituisce il numero di caratteri in un testo compreso tra position e l'inizio rangedi .

[Foundation.Export("characterOffsetOfPosition:withinRange:")]
public virtual nint GetCharacterOffsetOfPosition (UIKit.UITextPosition position, UIKit.UITextRange range);
abstract member GetCharacterOffsetOfPosition : UIKit.UITextPosition * UIKit.UITextRange -> nint
override this.GetCharacterOffsetOfPosition : UIKit.UITextPosition * UIKit.UITextRange -> nint

Parametri

position
UITextPosition

Posizione nel testo.

range
UITextRange

Intervallo di testo in un documento.

Restituisce

System.System.IntPtr System.nativeint
Attributi

Si applica a