OutputCacheProfileCollection.GetKey(Int32) Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Hiermee haalt u de sleutel op de opgegeven OutputCacheProfileCollection index op.
public:
System::String ^ GetKey(int index);
public string GetKey(int index);
member this.GetKey : int -> string
Public Function GetKey (index As Integer) As String
Parameters
- index
- Int32
De OutputCacheProfileCollection index van de sleutel.
Retouren
De sleutel met de opgegeven OutputCacheProfileCollection index.
Voorbeelden
In het volgende codevoorbeeld ziet u hoe u de GetKey methode gebruikt.
// Get the key with the specified index.
string theKey = outputCacheProfiles.GetKey(0).ToString();
' Get the key with the specified index.
Dim theKey As String = _
outputCacheProfiles.GetKey(0)