• Webinars
  • Docs
  • Download
  • Blogs
  • Contact Us
Try Free
Show / Hide Table of Contents

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

This example demonstrates how to remove a DataType from ICache.

 ICache cache = CacheManager.GetCache("demoCache");
string dataTypeName = "DataType0";

cache.DataTypeManager.Remove(dataTypeName);
Back to top Copyright © 2017 Alachisoft