Share via


IEditorOptions.GetOptionValue Method (String)

Gets the value of the option specified by the option ID.

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

Parameters

  • optionId
    Type: String

    The ID of the option.

Return Value

Type: Object
The current value of the option, as an object. The caller is responsible for casting the object to the correct type.

.NET Framework Security

See Also

Reference

IEditorOptions Interface

GetOptionValue Overload

Microsoft.VisualStudio.Text.Editor Namespace