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

Method InsertAtTail

InsertAtTail(T)

Insert the specified value at the tail of the list.

Declaration
void InsertAtTail(T value)
Parameters
Type Name Description
T value

Element to insert in the list.

Examples

The following code sample shows how to insert element at end of the distributed list.

ICache cache = CacheManager.GetCache("demoClusteredCache");
string dataTypeName = "DistributedList";

IDistributedList<Product> list = cache.DataTypeManager.GetList<Product>(dataTypeName);

// Get new product
Product newProduct = FetchNewProduct();

list.InsertAtTail(newProduct);
Back to top Copyright © 2017 Alachisoft