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 以最初存储视图状态信息,使其可供检索。

适用于