Compartilhar via


IEditorOptions.ClearOptionValue Method (String)

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 ( _
    optionId As String _
) As Boolean
bool ClearOptionValue(
    string optionId
)
bool ClearOptionValue(
    String^ optionId
)
abstract ClearOptionValue : 
        optionId:string -> bool
function ClearOptionValue(
    optionId : String
) : boolean

Parameters

  • optionId
    Type: String

    The ID of the option.

Return Value

Type: Boolean
true if the option was defined locally and cleared.

.NET Framework Security

See Also

Reference

IEditorOptions Interface

ClearOptionValue Overload

Microsoft.VisualStudio.Text.Editor Namespace