次の方法で共有


ProjectCollection.HostServices Property

Definition

Object exposing host services to tasks during builds of projects contained by this project collection. By default, HostServices is used. May be set to null, but the getter will create a new instance in that case.

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; }
public Microsoft.Build.Execution.HostServices HostServices { get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }
member this.HostServices : Microsoft.Build.Execution.HostServices with get, set
[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.HostServices : Microsoft.Build.Execution.HostServices with get, set
Public Property HostServices As HostServices

Property Value

The host services object.

Attributes

Remarks

By default, returns HostServices, which may be null.

Applies to