ModuleDialogPage.Tasks Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the collection of tasks for the page.
protected:
virtual property Microsoft::Web::Management::Client::TaskListCollection ^ Tasks { Microsoft::Web::Management::Client::TaskListCollection ^ get(); };
protected override Microsoft.Web.Management.Client.TaskListCollection Tasks { get; }
member this.Tasks : Microsoft.Web.Management.Client.TaskListCollection
Protected Overrides ReadOnly Property Tasks As TaskListCollection
Property Value
The TaskListCollection object for the page.
Examples
The following example overrides the Tasks property.
protected override TaskListCollection Tasks {
get {
if (_taskList == null) {
_taskList = new PageTaskList(this);
}
TaskListCollection taskList = base.Tasks;
taskList.Add(_taskList);
return taskList;
}
}