Edit

Share via


IMobileWebFormServices.GetCache(String, Object) Method

Definition

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.

Applies to

See also