本主題說明 ObjectModelRoot 物件。它是 Microsoft.PowerShell.Host.ISE.ObjectModelRoot 類別的執行個體。$psISE 物件是 Windows PowerShell 整合式指令碼環境 (ISE) 中的主要根物件,也是這個類別的成員。本主題說明 ObjectModelRoot 物件的屬性。

屬性

CurrentFile

唯讀屬性,取得或設定與這個主控物件關聯、目前獲得焦點的檔案。

CurrentPowerShellTab

唯讀屬性,取得獲得焦點的 PowerShell 索引標籤。

Options

唯讀屬性,取得各種可在 Windows PowerShell ISE 中變更設定的選項。

PowerShellTabs

唯讀屬性,取得已經在 Windows PowerShell ISE 中開啟的 PowerShell 索引標籤集合。根據預設,這個物件會包含一個 PowerShell 索引標籤。不過,您可以使用指令碼或在 Windows PowerShell ISE 中使用功能表,將多個 PowerShell 索引標籤新增至這個物件。

請參閱




目錄