共用方式為


ISE 物件模型階層

本文說明屬於 Windows PowerShell 整合式腳本環境 (ISE) 的物件階層。 Windows PowerShell ISE 包含在 Windows PowerShell 3.0、4.0 和 5.1 中。 按兩下物件,以帶您前往定義物件之類別的參考檔。

$psISE物件

$psISE 對像是 Windows PowerShell ISE 物件階層 根物件。 其位於最上層,可讓下列物件可供腳本使用:

$psISE.CurrentFile

$psISE.CurrentFile 物件是ISEFile 類別 實例。

$psISE.CurrentPowerShellTab

$psISE.CurrentPowerShellTab 物件是 PowerShellTab 類別的實例。

$psISE.CurrentVisibleHorizontalTool

$psISE.CurrentVisibleHorizontalTool 對像是 ISEAddOnTool 類別的實例。 它代表目前停駐在 Windows PowerShell ISE 視窗頂端的已安裝附加元件工具。

$psISE.CurrentVisibleVerticalTool

$psISE.CurrentVisibleHorizontalTool 對像是 ISEAddOnTool 類別的實例。 它代表目前停駐在 Windows PowerShell ISE 視窗右邊緣的已安裝附加元件工具。

$psISE.Options

$psISE.Options 物件是 ISEOptions 類別的實例。 ISEOptions 物件代表 Windows PowerShell ISE 的各種設定。 它是 Microsoft.PowerShell.Host.ISE.ISEOptions 類別的實例。

$psISE.PowerShellTabs

$psISE.PowerShellTabs 對像是 PowerShellTabCollection 類別的實例。 它是目前開啟的所有 PowerShell 索引標籤集合,代表本機電腦或連線遠端電腦上可用的 Windows PowerShell 執行環境。 集合中的每個成員都是 PowerShellTab 類別的實例。

另請參閱