Edit

Share via


UITextField.ComparePosition(UITextPosition, UITextPosition) Method

Definition

Returns a value that shows how one location in a document that compares to another location: before, identical, or after.

[Foundation.Export("comparePosition:toPosition:")]
public virtual Foundation.NSComparisonResult ComparePosition (UIKit.UITextPosition first, UIKit.UITextPosition second);
abstract member ComparePosition : UIKit.UITextPosition * UIKit.UITextPosition -> Foundation.NSComparisonResult
override this.ComparePosition : UIKit.UITextPosition * UIKit.UITextPosition -> Foundation.NSComparisonResult

Parameters

first
UITextPosition

The first location in a document.

second
UITextPosition

The second location in a document.

Returns

Implements

Attributes

Applies to