IEditorOptions.Parent 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置此选项集的直接父级。 如果这组选项没有父范围 (因为它是全局范围) ,则此属性为 null,因此无法设置。
public:
property Microsoft::VisualStudio::Text::Editor::IEditorOptions ^ Parent { Microsoft::VisualStudio::Text::Editor::IEditorOptions ^ get(); void set(Microsoft::VisualStudio::Text::Editor::IEditorOptions ^ value); };
public:
property Microsoft::VisualStudio::Text::Editor::IEditorOptions ^ Parent { Microsoft::VisualStudio::Text::Editor::IEditorOptions ^ get(); void set(Microsoft::VisualStudio::Text::Editor::IEditorOptions ^ value); };
public Microsoft.VisualStudio.Text.Editor.IEditorOptions Parent { get; set; }
member this.Parent : Microsoft.VisualStudio.Text.Editor.IEditorOptions with get, set
Public Property Parent As IEditorOptions
属性值
父范围。
注解
调用 set 时,新父代必须为非 null,并且是从与此实例相同的 IEditorOptions 创建的其他实例 IEditorOptionsFactoryService 。 此外,不允许使用父链中的循环。