Export (0) Print
Expand All


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)


The LANGPREFERENCES type exposes the following members.

Public methodEqualsIndicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Public methodGetHashCodeReturns the hash code for this instance. (Inherited from ValueType.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns the fully qualified type name of this instance. (Inherited from ValueType.)

Public fieldfAutoListMembersDetermines whether a proposed list of members is produced on the fly.
Public fieldfAutoListParamsDetermines whether a proposed list of parameters is produced on the fly.
Public fieldfDropdownBarDetermines whether language services support the dropdown or navigation bar.
Public fieldfHideAdvancedAutoListMembersHide advanced members. This parameter is irrelevant if the fAutoListMembers parameter is set to false.
Public fieldfHotURLsAllows for single-click URL navigation.
Public fieldfInsertTabsDetermines whether the tab character or spaces are inserted for a tab.
Public fieldfLineNumbersDetermines whether line numbers are shown in the selection margin.
Public fieldfShowCompletionDetermines whether statement completion is set through the user interface.
Public fieldfShowSmartIndentDetermines whether the smart indent option is set through the user interface.
Public fieldfTwoWayTreeviewDetermines whether the tree view is shown.
Public fieldfVirtualSpaceDetermines whether virtual space navigation and selection are allowed.
Public fieldfWordWrapDetermines whether word wrap occurs.
Public fieldguidLangSpecifies the Language service GUID.
Public fieldIndentStyleSpecifies no indenting, block indenting, or smart indenting.
Public fieldszFileTypeSpecifies the file type.
Public fielduIndentSizeLimit of MAX_EDITOR_TAB_SIZE.
Public fielduTabSizeLimit of MAX_EDITOR_TAB_SIZE.

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