IEditorOptions.ClearOptionValue<T>, méthode (EditorOptionKey<T>)

Efface la valeur définie localement de l'option donnée.

Espace de noms :  Microsoft.VisualStudio.Text.Editor
Assembly :  Microsoft.VisualStudio.Text.Logic (dans Microsoft.VisualStudio.Text.Logic.dll)

Syntaxe

'Déclaration
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 ne prend pas en charge les types ou les méthodes génériques.

Paramètres de type

  • T
    Type de la valeur.

Paramètres

Valeur de retour

Type : Boolean
true si l'option était définie localement et désactivée, sinon false.

Sécurité .NET Framework

Voir aussi

Référence

IEditorOptions Interface

ClearOptionValue, surcharge

Microsoft.VisualStudio.Text.Editor, espace de noms