다음을 통해 공유


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

‘선언
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

Return Value

Type: System.Boolean
true if the option was defined locally and cleared, otherwise false.

.NET Framework Security

See Also

Reference

IEditorOptions Interface

ClearOptionValue Overload

Microsoft.VisualStudio.Text.Editor Namespace