Compartilhar via


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)

Syntax

'Declaration
Property Parent As IEditorOptions
IEditorOptions Parent { get; set; }
property IEditorOptions^ Parent {
    IEditorOptions^ get ();
    void set (IEditorOptions^ value);
}
abstract Parent : IEditorOptions with get, set
function get Parent () : IEditorOptions 
function set Parent (value : IEditorOptions)

Property Value

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

Remarks

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-nulla null reference (Nothing in Visual Basic) and a different instance of IEditorOptions that was created from the same IEditorOptionsFactoryService as this instance. Cycles in the Parent chain are not allowed.

.NET Framework Security

See Also

Reference

IEditorOptions Interface

Microsoft.VisualStudio.Text.Editor Namespace