ObjectModelRoot 对象

$psISE 对象是 Windows PowerShell 集成脚本环境(ISE)中的主根对象,是 Microsoft.PowerShell.Host.ISE.ObjectModelRoot 类的一个实例。 本主题描述 了 ObjectModelRoot 对象的属性。

属性

CurrentFile

支持Windows PowerShell ISE 2.0及更高版本。

只读属性,获取文件,该文件与当前拥有焦点的主机对象关联。

CurrentPowerShellTab

支持Windows PowerShell ISE 2.0及更高版本。

只读属性,可以获得带有焦点的PowerShell标签页。

当前可见水平工具

支持Windows PowerShell ISE 2.0及更高版本。

只读属性,它获得了目前可见的 Windows PowerShell ISE 插件工具,该工具位于编辑器底部的水平工具窗格中。

CurrentVisibleVerticalTool

支持Windows PowerShell ISE 2.0及更高版本。

只读属性,获得当前可见的 Windows PowerShell ISE 插件工具,该工具位于编辑器右侧的垂直工具窗格中。

选项

支持Windows PowerShell ISE 2.0及更高版本。

只读属性,提供 Windows PowerShell ISE 中各种可以更改设置的选项。

PowerShellTabs

支持Windows PowerShell ISE 2.0及更高版本。

只读属性,用于获取 PowerShell 标签页集合,这些标签页在 Windows PowerShell ISE 中是打开的。 默认情况下,该对象包含一个PowerShell标签页。不过,你可以通过脚本或在 Windows PowerShell ISE 中的菜单中添加更多 PowerShell 标签页。

另请参阅