อ่านในภาษาอังกฤษ

แชร์ผ่าน


ITask.HostObject Property

Definition

The build engine sets this property if the host IDE has associated a host object with this particular task.

C#
public Microsoft.Build.Framework.ITaskHost HostObject { get; set; }

Property Value

The host object instance (can be null).

Remarks

This property can be a null reference (Nothing in Visual Basic).

Applies to

ผลิตภัณฑ์ เวอร์ชัน
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17