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)
Syntax
'Declaration
Function ClearOptionValue(Of T) ( _
key As EditorOptionKey(Of T) _
) As Boolean
bool ClearOptionValue<T>(
EditorOptionKey<T> key
)
generic<typename T>
bool ClearOptionValue(
EditorOptionKey<T> key
)
abstract ClearOptionValue :
key:EditorOptionKey<'T> -> bool
JScript does not support generic types or methods.
Type Parameters
- T
The type of the value.
Parameters
key
Type: Microsoft.VisualStudio.Text.Editor.EditorOptionKey<T>The key of the option.
Return Value
Type: Boolean
true if the option was defined locally and cleared, otherwise false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.