System.Web.Configuration.SqlCacheDependencyDatabaseCollection.GetKey Method

Returns the key for the element located at the specified index in the System.Web.Configuration.SqlCacheDependencyDatabaseCollection.

Syntax

public string GetKey (int index)

Parameters

index
The index of the key to return.

Returns

The key at the specified index.

Remarks

A null reference (Nothing in Visual Basic) is returned if no element exists at the specified index.

Requirements

Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0