Partager via


TextDocumentOption<T> Class

Definition

Base class for declaring a text document option.

public class TextDocumentOption<T> : Microsoft.VisualStudio.Extensibility.Editor.EditorOption<T,Microsoft.VisualStudio.Extensibility.Editor.ITextDocumentSnapshot>
type TextDocumentOption<'T> = class
    inherit EditorOption<'T, ITextDocumentSnapshot>
Public Class TextDocumentOption(Of T)
Inherits EditorOption(Of T, ITextDocumentSnapshot)

Type Parameters

T
Inheritance
TextDocumentOption<T>

Constructors

TextDocumentOption<T>(String)

Creates an editor text document option with the provided option name.

Properties

Name

Gets the option name.

(Inherited from EditorOption<T,S>)

Methods

Equals(Object) (Inherited from EditorOption<T,S>)
GetHashCode() (Inherited from EditorOption<T,S>)
GetValue(JToken)

Converts a JToken to the option value type.

(Inherited from EditorOption<T,S>)
ToString() (Inherited from EditorOption<T,S>)

Applies to