編集

次の方法で共有


IUITextInputTokenizer.GetRangeEnclosingPosition Method

Definition

The range for the text enclosing a text position in a text unit of the specified granularity in the specified direction.

[Foundation.Export("rangeEnclosingPosition:withGranularity:inDirection:")]
[Foundation.Preserve(Conditional=true)]
public UIKit.UITextRange GetRangeEnclosingPosition (UIKit.UITextPosition position, UIKit.UITextGranularity granularity, UIKit.UITextDirection direction);
abstract member GetRangeEnclosingPosition : UIKit.UITextPosition * UIKit.UITextGranularity * UIKit.UITextDirection -> UIKit.UITextRange

Parameters

position
UITextPosition
granularity
UITextGranularity
direction
UITextDirection

Returns

Attributes

Applies to