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
'宣言
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 | |
---|---|---|
Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Top
Fields
Name | Description | |
---|---|---|
fAutoListMembers | Determines whether a proposed list of members is produced on the fly. | |
fAutoListParams | Determines whether a proposed list of parameters is produced on the fly. | |
fDropdownBar | Determines whether language services support the dropdown or navigation bar. | |
fHideAdvancedAutoListMembers | Hide advanced members. This parameter is irrelevant if the fAutoListMembers parameter is set to false. | |
fHotURLs | Allows for single-click URL navigation. | |
fInsertTabs | Determines whether the tab character or spaces are inserted for a tab. | |
fLineNumbers | Determines whether line numbers are shown in the selection margin. | |
fShowCompletion | Determines whether statement completion is set through the user interface. | |
fShowSmartIndent | Determines whether the smart indent option is set through the user interface. | |
fTwoWayTreeview | Determines whether the tree view is shown. | |
fVirtualSpace | Determines whether virtual space navigation and selection are allowed. | |
fWordWrap | Determines whether word wrap occurs. | |
guidLang | Specifies the Language service GUID. | |
IndentStyle | Specifies no indenting, block indenting, or smart indenting. | |
szFileType | Specifies the file type. | |
uIndentSize | Limit of MAX_EDITOR_TAB_SIZE. | |
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.