TextDocumentOption<T> Class

Definition

Base class for declaring a text document option.

C#
public class TextDocumentOption<T> : Microsoft.VisualStudio.Extensibility.Editor.EditorOption<T,Microsoft.VisualStudio.Extensibility.Editor.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

Produit Versions
Visual Studio SDK 2022