次の方法で共有


Selection.EndKey(Object, Object) メソッド

定義

選択範囲を指定された単位の末尾まで移動または拡張します。

public int EndKey (ref object Unit, ref object Extend);
abstract member EndKey : obj * obj -> int
Public Function EndKey (Optional ByRef Unit As Object, Optional ByRef Extend As Object) As Integer

パラメーター

Unit
Object

省略可能 なオブジェクト。 選択範囲が移動または拡張する単位です。 WdUnits.

Extend
Object

省略可能 なオブジェクト。 選択範囲が移動または拡張する単位です。 WdUnits.

戻り値

注釈

This method returns an integer that indicates the number of characters the selection or active end was actually moved, or it returns 0 (zero) if the move was unsuccessful.

This method corresponds to functionality of the END key.

適用対象