The file or cache key dependencies for the item. When any dependency changes, the object becomes invalid and is removed from the cache. If there are no dependencies, this property contains a null reference (Nothing in Visual Basic).

Namespace: Alachisoft.NCache.Runtime.Caching
Assembly: Alachisoft.NCache.Runtime (in Alachisoft.NCache.Runtime.dll) Version: 4.3.0.0 (4.3.0.0)

Syntax

C#
public CacheDependency Dependency { get; set; }
Visual Basic
Public Property Dependency As CacheDependency
	Get
	Set
Visual C++
public:
property CacheDependency^ Dependency {
	CacheDependency^ get ();
	void set (CacheDependency^ value);
}

Property Value

Type: CacheDependency

Remarks