共用方式為


IMobileWebFormServices.SetCache(String, Object, Object) 方法

定義

在設計階段將物件儲存在設計工具主應用程式的快取中。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

public:
 void SetCache(System::String ^ controlID, System::Object ^ key, System::Object ^ value);
public void SetCache (string controlID, object key, object value);
abstract member SetCache : string * obj * obj -> unit
Public Sub SetCache (controlID As String, key As Object, value As Object)

參數

controlID
String

容器控制項的 ID。

key
Object

快取項目的索引鍵。

value
Object

要儲存在快取中的項目。

適用於

另請參閱