共用方式為


DifferenceBufferOption<T> Class

Definition

A base class that can be used for options that are specific to an IDifferenceBuffer.

generic <typename T>
public ref class DifferenceBufferOption abstract : Microsoft::VisualStudio::Text::Editor::EditorOptionDefinition<T>
template <typename T>
[Windows::Foundation::Metadata::WebHostHidden]
class DifferenceBufferOption abstract : Microsoft::VisualStudio::Text::Editor::EditorOptionDefinition<T>
public abstract class DifferenceBufferOption<T> : Microsoft.VisualStudio.Text.Editor.EditorOptionDefinition<T>
type DifferenceBufferOption<'T> = class
    inherit EditorOptionDefinition<'T>
Public MustInherit Class DifferenceBufferOption(Of T)
Inherits EditorOptionDefinition(Of T)

Type Parameters

T

The type of the option.

Inheritance

Constructors

DifferenceBufferOption<T>()

Initializes a new instance of DifferenceBufferOption.

Properties

Default

Gets the default value of this option.

(Inherited from EditorOptionDefinition<T>)
DefaultValue

Gets the default value of the option.

(Inherited from EditorOptionDefinition<T>)
Key

Gets the key of this option.

(Inherited from EditorOptionDefinition<T>)
Name

Gets the name of the option.

(Inherited from EditorOptionDefinition<T>)
ValueType

Gets the actual type of the option.

(Inherited from EditorOptionDefinition<T>)

Methods

Equals(Object)

Determines whether two EditorOptionDefinition objects are the same.

(Inherited from EditorOptionDefinition)
GetHashCode()

Gets the hash code of this type.

(Inherited from EditorOptionDefinition)
IsApplicableToScope(IPropertyOwner)

Determines whether this option is applicable to the given scope.

IsValid(Object)

Determines whether the proposed value is valid.

(Inherited from EditorOptionDefinition<T>)
IsValid(T)

Determines whether the proposed value is valid.

(Inherited from EditorOptionDefinition<T>)

Applies to