IUITextInput.ComparePosition(UITextPosition, UITextPosition) IUITextInput.ComparePosition(UITextPosition, UITextPosition) Method

Definition

Gets a comparison of one position to another.

[Foundation.Export("comparePosition:toPosition:")]
[Foundation.Preserve(Conditional=true)]
public Foundation.NSComparisonResult ComparePosition (UIKit.UITextPosition first, UIKit.UITextPosition second);
abstract member ComparePosition : UIKit.UITextPosition * UIKit.UITextPosition -> Foundation.NSComparisonResult

Parameters

first
UITextPosition UITextPosition

First text position.

second
UITextPosition UITextPosition

Second text position.

Returns

An indication as to whether two text positions are identical or if one is prior to the other.

Applies to