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
'宣言
Property Parent As IEditorOptions
Get
Set
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.