CacheStoreProvider.AddDependent Method (String, CacheDependency, DateTime)

 

Adds a dependant entity to the cache.

Namespace:   System.Web.Caching
Assembly:  System.Web (in System.Web.dll)

public abstract bool AddDependent(
	string key,
	CacheDependency dependency,
	out DateTime utcLastUpdated
)

Parameters

key
Type: System.String

The key.

dependency
Type: System.Web.Caching.CacheDependency

The dependant item.

utcLastUpdated
Type: System.DateTime

Return Value

Type: System.Boolean

The time the parent entry was created, if it exits; otherwise DateTimeMinValue.

.NET Framework
Available since 4.7
Return to top
Show: