IMobileWebFormServices.GetCache(String, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets an item from the cache of the designer host at design time. This API is obsolete. For information about how to develop ASP.NET mobile applications, see 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
Parameters
- controlID
- String
The ID for the container control.
- key
- Object
The key for the cache item.
Returns
An object from the cache of the designer host.
Remarks
Since the GetCache method is implemented by the designer host, verify that it exists before invoking it.