DifferenceViewerOption<T> Class

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

Namespace:  Microsoft.VisualStudio.Text.Differencing
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

public abstract class DifferenceViewerOption<T> : EditorOptionDefinition<T>

Type Parameters


The type of option.

The DifferenceViewerOption<T> type exposes the following members.

Protected methodDifferenceViewerOption<T>Initializes a new instance of DifferenceViewerOption.

Public propertyDefaultGets the default value of this option. (Inherited from EditorOptionDefinition<T>.)
Public propertyDefaultValueGets the default value of the option. (Inherited from EditorOptionDefinition<T>.)
Public propertyKeyGets the key of this option. (Inherited from EditorOptionDefinition<T>.)
Public propertyNameGets the name of the option. (Inherited from EditorOptionDefinition<T>.)
Public propertyValueTypeGets the actual type of the option. (Inherited from EditorOptionDefinition<T>.)

Public methodEqualsDetermines whether two EditorOptionDefinition objects are the same. (Inherited from EditorOptionDefinition.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeGets the hash code of this type. (Inherited from EditorOptionDefinition.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodIsApplicableToScopeDetermines whether this option is applicable to the specified scope. (Overrides EditorOptionDefinition.IsApplicableToScope(IPropertyOwner).)
Public methodIsValid(Object)Determines whether the proposed value is valid. (Inherited from EditorOptionDefinition<T>.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft