共用方式為


Task.HostObject Property

ITask implementation—HostObject property.

Namespace:  Microsoft.TeamFoundation.Build.Tasks
Assembly:  Microsoft.TeamFoundation.Build.ProcessComponents (in Microsoft.TeamFoundation.Build.ProcessComponents.dll)

Syntax

'Declaration
Public Property HostObject As ITaskHost
public ITaskHost HostObject { get; set; }
public:
virtual property ITaskHost^ HostObject {
    ITaskHost^ get () sealed;
    void set (ITaskHost^ value) sealed;
}
abstract HostObject : ITaskHost with get, set 
override HostObject : ITaskHost with get, set
final function get HostObject () : ITaskHost 
final function set HostObject (value : ITaskHost)

Property Value

Type: Microsoft.Build.Framework.ITaskHost
Returns ITaskHost.

Implements

ITask.HostObject

.NET Framework Security

See Also

Reference

Task Class

Microsoft.TeamFoundation.Build.Tasks Namespace