編輯

共用方式為


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

First text position.

second
UITextPosition

Second text position.

Returns

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

Attributes

Applies to