IEditorOptions.ClearOptionValue<T> Method (EditorOptionKey<T>)

 

Clear the locally-defined value for the given option.

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

bool ClearOptionValue<T>(
	EditorOptionKey<T> key
)

Parameters

key
Type: Microsoft.VisualStudio.Text.Editor.EditorOptionKey<T>

The key of the option.

Return Value

Type: System.Boolean

true if the option was defined locally and cleared, otherwise false.

Type Parameters

T

The type of the value.

Return to top
Show: