Edytuj

Udostępnij za pośrednictwem


Selection.Previous(Object, Object) Method

Definition

Returns a Range object relative to the specified selection.

public Microsoft.Office.Interop.Word.Range Previous (ref object Unit, ref object Count);
abstract member Previous : obj * obj -> Microsoft.Office.Interop.Word.Range
Public Function Previous (Optional ByRef Unit As Object, Optional ByRef Count As Object) As Range

Parameters

Unit
Object

Optional Object. WdUnits.

Count
Object

Optional Object. The number of units by which you want to move back. The default value is 1.

Returns

Remarks

If the selection is just after the specified Unit, the selection is moved to the previous unit.

Applies to