ITask.HostObject Property


Gets or sets any host object that is associated with the task.

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

Property Value

The host object associated with the task.


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

Applies to