Chart.GetFromCache Method
Retrieves the specified chart from the cache.
Namespace: System.Web.Helpers
Assembly: System.Web.Helpers (in System.Web.Helpers.dll)
Syntax
'Declaration
Public Shared Function GetFromCache ( _
key As String _
) As Chart
'Usage
Dim key As String
Dim returnValue As Chart
returnValue = Chart.GetFromCache(key)
public static Chart GetFromCache(
string key
)
public:
static Chart^ GetFromCache(
String^ key
)
static member GetFromCache :
key:string -> Chart
public static function GetFromCache(
key : String
) : Chart
Parameters
- key
Type: System.String
The ID of the cache item that contains the chart to retrieve. The key is set when you call the SaveToCache method.
Return Value
Type: System.Web.Helpers.Chart
The chart.