Cache.GetData Method
Get the object from the cache for the key.
Namespace: Microsoft.Practices.EnterpriseLibrary.Caching
Assembly: Microsoft.Practices.EnterpriseLibrary.Caching (in Microsoft.Practices.EnterpriseLibrary.Caching.dll)
Syntax
'Declaration
Public Function GetData ( _
key As String _
) As Object
public Object GetData(
string key
)
public:
Object^ GetData(
String^ key
)
public function GetData(
key : String
) : Object
Parameters
- key
Type: System.String
The key whose value to get.
Return Value
The value associated with the specified key.