IEditorOptions::SetOptionValue<T> Method (EditorOptionKey<T>, T)
Visual Studio 2015
Sets the value of the specified option in the current scope.
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Parameters
- key
-
Type:
Microsoft.VisualStudio.Text.Editor::EditorOptionKey<T>
The key of the option.
- value
-
Type:
T
The new value of the option.
Type Parameters
- T
The type of the key.
If the given option is not applicable in the current scope, it attempts to set the option in the global scope.
Show: