物件模型參考

本節為定義 ISE 中各種物件的基礎類別提供參考。

ISEEditor 物件
範例:$psISE.CurrentFile.Editor、$psISE.CurrentPowerShellTab.Output、$psISE.CurrentPowerShellTab.CommandPane。

ISEFile 物件
範例:$psISE.CurrentFile、$psISE.PowerShellTabs.Files[0]。

ISEFileCollection 物件
範例:$psISE.PowerShellTabs.Files。

ISEMenuItem 物件
範例:$psISE.CurrentPowerShellTab.AddOnsMenu、$psISE.CurrentPowerShellTab.AddOnsMenu.Submenus[0]。

ISEMenuItemCollection 物件
範例:$psISE.CurrentPowerShellTab.AddOnsMenu.Submenus。

ObjectModelRoot 物件
範例:$psISE 根物件。

ISEOptions 物件
範例:$psISE.Options、$psISE.Options.DefaultOptions。

PowerShellTab 物件
範例:$psISE.CurrentPowerShellTab、$psISE.PowerShellTabs[0]。

PowerShellTabCollection 物件
範例:$psISE.PowerShellTabs。

請參閱




目錄