ProjectCollection.HostServices 属性

定义

获取或设置一个对象,在生成项目集合中包含的项目的过程中,该对象将为各个任务提供主机服务。Gets or sets an object that provides host services to tasks during builds of projects contained in the project collection.

public:
 property Microsoft::Build::Execution::HostServices ^ HostServices { Microsoft::Build::Execution::HostServices ^ get(); void set(Microsoft::Build::Execution::HostServices ^ value); };
public Microsoft.Build.Execution.HostServices HostServices { get; set; }
member this.HostServices : Microsoft.Build.Execution.HostServices with get, set
Public Property HostServices As HostServices

属性值

宿主服务对象。The host services object.

注解

默认情况下, HostServices返回,它可以为 null。By default, returns HostServices, which may be null.

适用于