EditorOptionDefinition Class

 

The definition of an editor option.

Namespace:   Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

System.Object
  Microsoft.VisualStudio.Text.Editor.EditorOptionDefinition
    Microsoft.VisualStudio.Text.Editor.EditorOptionDefinition<T>

public abstract class EditorOptionDefinition

NameDescription
System_CAPS_protmethodEditorOptionDefinition()

Initializes a new instance of EditorOptionDefinition.

NameDescription
System_CAPS_pubpropertyDefaultValue

Gets the default value of the option.

System_CAPS_pubpropertyName

Gets the name of the option from the options registry.

System_CAPS_pubpropertyValueType

Gets the actual type of the option. This is used to ensure that setting the option by using the editor options registry is type-safe.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether two EditorOptionDefinition objects are the same.(Overrides Object.Equals(Object).)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Gets the hash code of this type.(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsApplicableToScope(IPropertyOwner)

Determines whether this option is applicable for the given scope (for example, a text buffer).

System_CAPS_pubmethodIsValid(Object)

Determines whether the proposed value is valid.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

This is a MEF component part, and should be exported with:

[Export(typeof(EditorOptionDefinition))]

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: