共用方式為


ICommandRuntime.Host Property

Definition

Returns an instance of the PSHost implementation for this environment.

public:
 property System::Management::Automation::Host::PSHost ^ Host { System::Management::Automation::Host::PSHost ^ get(); };
public System.Management.Automation.Host.PSHost Host { get; }
public System.Management.Automation.Host.PSHost? Host { get; }
member this.Host : System.Management.Automation.Host.PSHost
Public ReadOnly Property Host As PSHost

Property Value

Applies to