EditorOption<T,S> Class

Definition

Base class for declaring an editor option.

public abstract class EditorOption<T,S> : Microsoft.VisualStudio.Extensibility.Editor.IEditorOption<T>
type EditorOption<'T, 'S> = class
    interface IEditorOption<'T>
Public MustInherit Class EditorOption(Of T, S)
Implements IEditorOption(Of T)

Type Parameters

T

Option value type.

S

Scope type such as ITextViewSnapshot.

Inheritance
EditorOption<T,S>
Derived
Implements

Constructors

EditorOption<T,S>(String)

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

Properties

Name

Gets the option name.

Methods

Equals(Object)
GetHashCode()
GetValue(JToken)

Converts a JToken to the option value type.

ToString()

Operators

Equality(EditorOption<T,S>, EditorOption<T,S>)

Determines whether two instances of this type are the same.

Inequality(EditorOption<T,S>, EditorOption<T,S>)

Determines whether two instances of this type are different.

Applies to