GetOptionValue(T) Method (EditorOptionKey(T))
Collapse the table of content
Expand the table of content

IEditorOptions.GetOptionValue<T> Method (EditorOptionKey<T>)

 

Gets the value of the option identified by the specified key.

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

T GetOptionValue<T>(
	EditorOptionKey<T> key
)

Parameters

key
Type: Microsoft.VisualStudio.Text.Editor.EditorOptionKey<T>

The key of the option.

Return Value

Type: T

The current value of the option.

Type Parameters

T

The type of the value.

Return to top
Show:
© 2016 Microsoft