Edit

Share via


Selection.GoToPrevious(WdGoToItem) Method

Definition

Returns a Range object that refers to the start position of the previous item or a specified location.

public:
 Microsoft::Office::Interop::Word::Range ^ GoToPrevious(Microsoft::Office::Interop::Word::WdGoToItem What);
public Microsoft.Office.Interop.Word.Range GoToPrevious (Microsoft.Office.Interop.Word.WdGoToItem What);
abstract member GoToPrevious : Microsoft.Office.Interop.Word.WdGoToItem -> Microsoft.Office.Interop.Word.Range
Public Function GoToPrevious (What As WdGoToItem) As Range

Parameters

What
WdGoToItem

The item that the specified range or selection is to be moved to. WdGoToItem.

Returns

Remarks

The GoToPrevious method moves the selection to the specified item.

Applies to