共用方式為


IMobileWebFormServices.GetCache(String, Object) 方法

定義

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

public:
 System::Object ^ GetCache(System::String ^ controlID, System::Object ^ key);
public object GetCache (string controlID, object key);
abstract member GetCache : string * obj -> obj
Public Function GetCache (controlID As String, key As Object) As Object

參數

controlID
String

容器控制項的 ID。

key
Object

快取項目的索引鍵。

傳回

設計工具主應用程式之快取的物件。

備註

GetCache由於方法是由設計工具主機所實作,請在叫用方法之前先確認它存在。

適用於

另請參閱