Method Remove
Remove(String, WriteThruOptions)
Remove the specified data type.
Declaration
void Remove(string key, WriteThruOptions writeThruOptions = null)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | key | Name of the data type. | 
| WriteThruOptions | writeThruOptions | WriteThruOptions regarding updating data source. This can be WriteThru, WriteBehind or none. | 
Examples
The following example demonstrates how to remove a DataType from ICache.
ICache cache = CacheManager.GetCache("demoClusteredCache");
string dataTypeName = "DataType0";
cache.DataTypeManager.Remove(dataTypeName);