Compartilhar via


UITextView.GetCharacterOffsetOfPosition(UITextPosition, UITextRange) Método

Definição

Retorna o número de caracteres em algum texto entre position e o início do range.

[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

Parâmetros

position
UITextPosition

Um local no texto.

range
UITextRange

O intervalo de texto em um documento.

Retornos

System.System.IntPtr System.nativeint
Atributos

Aplica-se a