IEditorOptions.GetOptionValue<T>, méthode (String)

Obtient la valeur de l'option identifiée par l'ID d'option spécifié.

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

Syntaxe

'Déclaration
Function GetOptionValue(Of T) ( _
    optionId As String _
) As T
T GetOptionValue<T>(
    string optionId
)
generic<typename T>
T GetOptionValue(
    String^ optionId
)
abstract GetOptionValue : 
        optionId:string -> 'T 
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

  • optionId
    Type : String

    ID de l'option.

Valeur de retour

Type : T
Valeur actuelle de l'option.

Sécurité .NET Framework

Voir aussi

Référence

IEditorOptions Interface

GetOptionValue, surcharge

Microsoft.VisualStudio.Text.Editor, espace de noms