共用方式為


WorkflowViewStateService.RetrieveAllViewState(ModelItem) 方法

定義

擷取與指定之模型項目關聯的完整檢視狀態。

public:
 override System::Collections::Generic::Dictionary<System::String ^, System::Object ^> ^ RetrieveAllViewState(System::Activities::Presentation::Model::ModelItem ^ modelItem);
public override System.Collections.Generic.Dictionary<string,object> RetrieveAllViewState (System.Activities.Presentation.Model.ModelItem modelItem);
override this.RetrieveAllViewState : System.Activities.Presentation.Model.ModelItem -> System.Collections.Generic.Dictionary<string, obj>
Public Overrides Function RetrieveAllViewState (modelItem As ModelItem) As Dictionary(Of String, Object)

參數

modelItem
ModelItem

與目前檢視狀態關聯的工作流程活動 ModelItem

傳回

表示檢視狀態的 Dictionary<TKey,TValue>

例外狀況

modelItemnull

適用於