Share via


IVsExpansionSession.GoToPreviousExpansionField Method

Move the highlight to the previous field in order.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

'Declaration
Function GoToPreviousExpansionField As Integer
int GoToPreviousExpansionField()
int GoToPreviousExpansionField()
abstract GoToPreviousExpansionField : unit -> int 
function GoToPreviousExpansionField() : int

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr2.idl:

HRESULT IVsExpansionSession::GoToPreviousExpansionField();

This method is used in support of the special edit mode that is entered after a code snippet is inserted. Typically, this method is called in response to the user typing the Shift-Tab key combination.

.NET Framework Security

See Also

Reference

IVsExpansionSession Interface

Microsoft.VisualStudio.TextManager.Interop Namespace