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)

property IEditorOptions^ Parent {
	IEditorOptions^ get();
	void set(IEditorOptions^ value);
}

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.

Return to top
Show: