Partager via


LANGPREFERENCES Structure

Used to communicate user preferences with the text manager, views, and language services. View settings follow the text manager's settings unless a specific set of forced settings are specified when Initialize is called.

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

Syntax

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

The LANGPREFERENCES 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 fAutoListMembers Determines whether a proposed list of members is produced on the fly.
Public field fAutoListParams Determines whether a proposed list of parameters is produced on the fly.
Public field fDropdownBar Determines whether language services support the dropdown or navigation bar.
Public field fHideAdvancedAutoListMembers Hide advanced members. This parameter is irrelevant if the fAutoListMembers parameter is set to false.
Public field fHotURLs Allows for single-click URL navigation.
Public field fInsertTabs Determines whether the tab character or spaces are inserted for a tab.
Public field fLineNumbers Determines whether line numbers are shown in the selection margin.
Public field fShowCompletion Determines whether statement completion is set through the user interface.
Public field fShowSmartIndent Determines whether the smart indent option is set through the user interface.
Public field fTwoWayTreeview Determines whether the tree view is shown.
Public field fVirtualSpace Determines whether virtual space navigation and selection are allowed.
Public field fWordWrap Determines whether word wrap occurs.
Public field guidLang Specifies the Language service GUID.
Public field IndentStyle Specifies no indenting, block indenting, or smart indenting.
Public field szFileType Specifies the file type.
Public field uIndentSize Limit of MAX_EDITOR_TAB_SIZE.
Public field uTabSize Limit of MAX_EDITOR_TAB_SIZE.

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