Bagikan melalui


LANGPREFERENCES2 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.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

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

The LANGPREFERENCES2 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 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 fCutCopyBlanks Determines of blanks are included in cut/copy on a blank line.
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 fWordWrapGlyphs Specifies if a glyph should be shown to indicate a wrapped line.
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