The set of the names of predefined text view roles.
Inheritance Hierarchy
System.Object
  Microsoft.VisualStudio.Text.Editor.PredefinedTextViewRoles
Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
声明
Public NotInheritable Class PredefinedTextViewRoles
public static class PredefinedTextViewRoles
public ref class PredefinedTextViewRoles abstract sealed
[<AbstractClass>]
[<Sealed>]
type PredefinedTextViewRoles =  class end
public final class PredefinedTextViewRoles
The PredefinedTextViewRoles type exposes the following members.
Fields
| Name | Description | |
|---|---|---|
| .gif) .gif) | Analyzable | Applies to text views of entities that can be analyzed for errors or other information (such as "quick info"). | 
| .gif) .gif) | Debuggable | Applies to text views of entities in which the debugger can display information at runtime. | 
| .gif) .gif) | Document | Applies to text views of entities, typically stored in files, that have a definite first line and last line. This excludes entities such as output logs or textual displays of data that are presented in a form. | 
| .gif) .gif) | Editable | Applies to text views that can be changed using the keyboard. | 
| .gif) .gif) | Interactive | Applies to text views with which the user can interact using the mouse and/or keyboard. Views that are not interactive cannot display a caret or a selection and cannot have keyboard input. | 
| .gif) .gif) | PrimaryDocument | Applies to text views of documents that are open for mainline editing, excluding auxiliary views of documents. | 
| .gif) .gif) | Structured | Applies to text views of entities that have internal structure that should be exposed by editor facilities such as Outlining. | 
| .gif) .gif) | Zoomable | Applies to text views of entities that allow the user to perform zooming operations. | 
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.