ModuleDialogPage.Tasks Propriedade
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Obtém a coleção de tarefas da página.
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
Valor da propriedade
O TaskListCollection objeto da página.
Exemplos
O exemplo a seguir substitui a Tasks propriedade .
protected override TaskListCollection Tasks {
get {
if (_taskList == null) {
_taskList = new PageTaskList(this);
}
TaskListCollection taskList = base.Tasks;
taskList.Add(_taskList);
return taskList;
}
}