Freigeben über


VIEWPREFERENCES2 Structure

Provides additional members for the VIEWPREFERENCES structure.

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

Syntax

'Declaration
Public Structure VIEWPREFERENCES2
public struct VIEWPREFERENCES2
public value class VIEWPREFERENCES2
[<Sealed>]
type VIEWPREFERENCES2 =  struct end
JScript supports the use of structures, but not the declaration of new ones.

The VIEWPREFERENCES2 type exposes the following members.

Methods

  Name Description
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from ValueType.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Top

Fields

  Name Description
Public field fActiveInModalState Determines whether the view should be active (allow commands to be active) when Visual Studio is in a modal state.
Public field fAutoDelimiterHighlight Determines whether automatic delimiter highlighting is allowed.
Public field fClientDragDropFeedback Determines whether drag/drop feedback is enabled.
Public field fDetectUTF8 Determines whether the view should detect UTF-8 encoding.
Public field fDragDropEditing Determines whether drag/drop editing is allowed.
Public field fDragDropMove Determines whether drag/drop moves are allowed.
Public field fGoToAnchorAfterEscape Determines whether the user is sent to an anchor after pressing the ESC key.
Public field fOvertype Determines whether insert or overtype is enabled. This value is not persisted.
Public field fReadOnly Determines whether the view is read-only.
Public field fSelectionMargin Determines whether the selection margin is displayed.
Public field fTrackChanges Determines whether track changes is enabled.
Public field fUndoCaretMovements Determines whether caret movements and text selections are included in undo list.
Public field fVisibleWhitespace Determines whether spaces and tabs are shown.
Public field fWidgetMargin Determines whether the widget margin is shown.
Public field lEditorEmulation Determines whether the view should be in the Visual Studio default mode or some editor emulation mode.
Public field uCompletorSize Determines the size of the IntelliSense completor.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace