Поделиться через


VIEWPREFERENCES Structure

Supplies settings for all text views.

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

Syntax

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

The VIEWPREFERENCES type exposes the following members.

Methods

  Name Description
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
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.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Top

Fields

  Name Description
Public field fAutoDelimiterHighlight Determines whether automatic delimiter highlighting is allowed.
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 fSelectionMargin Determines whether the selection margin is displayed.
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.

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