IEditorOptions.Parent Property

Gets the immediate parent of this set of options.

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

IEditorOptions Parent { get; set; }

Property Value

Type: Microsoft.VisualStudio.Text.Editor.IEditorOptions
The parent scope.

If this set of options has no parent scope (because it is the global scope), this property is null and cannot be set.

When setting this property, the new parent must be non-null and a different instance of IEditorOptions that was created from the same IEditorOptionsFactoryService as this instance. Cycles in the Parent chain are not allowed.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft