Property Key
Key
Gets the key of cache entry on which entry processor has to be executed.
Declaration
string Key { get; }
Property Value
Type | Description |
---|---|
System.String | Returns key of the associated cahe entry. |
Examples
Example looks for string Product in Key property of Mutable Entry
if (entry.Exists())
{
if (entry.Key.Contains("Product"))
{
return "It is a product.";
}
else
{
return "Unknown data";
}
}