Freigeben über


IEditorOptions.GetOptionValue-Methode (String)

Ruft den Wert der von der Options-ID angegebenen Option ab.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

Syntax

'Declaration
Function GetOptionValue ( _
    optionId As String _
) As Object
Object GetOptionValue(
    string optionId
)
Object^ GetOptionValue(
    String^ optionId
)
abstract GetOptionValue : 
        optionId:string -> Object
function GetOptionValue(
    optionId : String
) : Object

Parameter

  • optionId
    Typ: String

    Die ID der Option.

Rückgabewert

Typ: Object
Der aktuelle Wert der Option als Objekt.Der Aufrufer ist für das Umwandeln des Objekts in den richtigen Typ zuständig.

.NET Framework-Sicherheit

Siehe auch

Referenz

IEditorOptions Schnittstelle

GetOptionValue-Überladung

Microsoft.VisualStudio.Text.Editor-Namespace