IEditorOptions::IsOptionDefined<T> Method (EditorOptionKey<T>, Boolean)
Visual Studio 2015
Determines whether the specified editor option is defined.
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.
- localScopeOnly
-
Type:
System::Boolean
true to search only in this scope, false to try parent scopes as well. This setting has no effect if the current scope is global.
Type Parameters
- T
The type of the key.
Show: