Compartir a través de


ITask.HostObject Property

Definition

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

public:
 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 instance (can be null).

Remarks

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

Applies to