UITextView.GetCharacterOffsetOfPosition(UITextPosition, UITextRange) メソッド

定義

から の先頭までの一部のテキスト position の文字数を返します range

[Foundation.Export("characterOffsetOfPosition:withinRange:")]
public virtual nint GetCharacterOffsetOfPosition (UIKit.UITextPosition position, UIKit.UITextRange range);
abstract member GetCharacterOffsetOfPosition : UIKit.UITextPosition * UIKit.UITextRange -> nint
override this.GetCharacterOffsetOfPosition : UIKit.UITextPosition * UIKit.UITextRange -> nint

パラメーター

position
UITextPosition

テキスト内の場所。

range
UITextRange

文書内のテキストの範囲。

戻り値

System.System.IntPtr System.nativeint
属性

適用対象