共用方式為


ViewStateService.RetrieveAllViewState(ModelItem) 方法

定義

傳回針對指定之 modelItem 儲存的檢視狀態層面,以符合指定的 key

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

參數

modelItem
ModelItem

套用檢視狀態的 ModelItem

傳回

傳回 Dictionary<TKey,TValue>

備註

呼叫 StoreViewState 以便一開始就儲存檢視狀態資訊,讓系統可以擷取這項資訊。

適用於