IUITextInput.GetOffsetFromPosition(UITextPosition, UITextPosition) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient le nombre de caractères visibles entre deux positions de texte définies.
[Foundation.Export("offsetFromPosition:toPosition:")]
[Foundation.Preserve(Conditional=true)]
public nint GetOffsetFromPosition (UIKit.UITextPosition fromPosition, UIKit.UITextPosition toPosition);
abstract member GetOffsetFromPosition : UIKit.UITextPosition * UIKit.UITextPosition -> nint
Paramètres
- fromPosition
- UITextPosition
Position initiale du texte.
- toPosition
- UITextPosition
Position finale du texte.
Retours
System.System.IntPtr
System.nativeint
Nombre de caractères visibles entre les deux positions de texte spécifiées.
- Attributs