Freigeben über


IEditorOptions.ClearOptionValue-Methode (String)

Löscht den lokal definierten Wert für die angegebene 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

Parameter

  • optionId
    Typ: String

    Die ID der Option.

Rückgabewert

Typ: Boolean
true, wenn die Option lokal definiert und deaktiviert wurde.

.NET Framework-Sicherheit

Siehe auch

Referenz

IEditorOptions Schnittstelle

ClearOptionValue-Überladung

Microsoft.VisualStudio.Text.Editor-Namespace