次の方法で共有


ModuleDialogPage.Tasks プロパティ

定義

ページのタスクのコレクションを取得します。

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

プロパティ値

TaskListCollectionページの オブジェクト。

次の例では、 プロパティを Tasks オーバーライドします。

protected override TaskListCollection Tasks {
    get {
        if (_taskList == null) {
            _taskList = new PageTaskList(this);
        }

        TaskListCollection taskList = base.Tasks;
        taskList.Add(_taskList);

        return taskList;
    }
} 

適用対象