RichEditTextRange.MoveEnd(TextRangeUnit, Int32) メソッド

定義

テキスト範囲の終了位置を移動します。

public:
 virtual int MoveEnd(TextRangeUnit unit, int count) = MoveEnd;
int MoveEnd(TextRangeUnit const& unit, int const& count);
public int MoveEnd(TextRangeUnit unit, int count);
function moveEnd(unit, count)
Public Function MoveEnd (unit As TextRangeUnit, count As Integer) As Integer

パラメーター

unit
TextRangeUnit

テキスト範囲の終了位置を移動する単位。 既定値は Character です。

count
Int32

int

テキスト範囲の終了位置を移動する_unit_sの数。 既定値は 1 です。 count が 0 より大きい場合、終了位置はストーリーの末尾に向かって前方に移動します。 count が 0 未満の場合、終了位置はストーリーの先頭に向かって後方に移動します。 count が 0 の場合、終了位置は移動しません。

戻り値

Int32

int

テキスト範囲の終了位置が移動した_unit_sの実際の数。

実装

M:Windows.UI.Text.ITextRange.MoveEnd(Windows.UI.Text.TextRangeUnit,System.Int32) M:Windows.UI.Text.ITextRange.MoveEnd(Windows.UI.Text.TextRangeUnit,int)

適用対象