$psISE
对象,它是 Windows PowerShell® 集成脚本环境(ISE)中的主体根对象,是 Microsoft.PowerShell.Host.ISE.ObjectModelRoot 类的实例。 本主题介绍 ObjectModelRoot 对象的属性。
性能
CurrentFile
在 Windows PowerShell ISE 2.0 及更高版本中受支持。
获取文件的只读属性,该属性与当前具有焦点的此主机对象相关联。
CurrentPowerShellTab
在 Windows PowerShell ISE 2.0 及更高版本中受支持。
获取具有焦点的 PowerShell 选项卡的只读属性。
CurrentVisibleHorizontalTool
在 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 选项卡。
另请参阅
- Windows PowerShell ISE 脚本对象模型的 用途
- ISE 对象模型层次结构