Sdílet prostřednictvím


TaskProgressCollectionControl.LastTask Property

Definition

Gets the last task in the collection's Tasks collection, or null if the collection is empty.

public:
 property Microsoft::VisualStudio::TaskStatusCenter::IVsTaskProgress ^ LastTask { Microsoft::VisualStudio::TaskStatusCenter::IVsTaskProgress ^ get(); void set(Microsoft::VisualStudio::TaskStatusCenter::IVsTaskProgress ^ value); };
public Microsoft.VisualStudio.TaskStatusCenter.IVsTaskProgress LastTask { get; set; }
member this.LastTask : Microsoft.VisualStudio.TaskStatusCenter.IVsTaskProgress with get, set
Public Property LastTask As IVsTaskProgress

Property Value

Remarks

Ordinarily this would be defined as an attached property, to be attached to the last task. The tasks are not DependencyObjects, though, so a DependencyProperty cannot be attached to them.

Applies to