OutputCacheProfileCollection.GetKey(Int32) 메서드

정의

지정된 OutputCacheProfileCollection 인덱스에 있는 키를 가져옵니다.

public:
 System::String ^ GetKey(int index);
public string GetKey (int index);
member this.GetKey : int -> string
Public Function GetKey (index As Integer) As String

매개 변수

index
Int32

키의 OutputCacheProfileCollection 인덱스입니다.

반환

String

지정된 OutputCacheProfileCollection 인덱스에 있는 키입니다.

예제

다음 코드 예제에서는 GetKey 메서드를 사용하는 방법을 보여 줍니다.

// 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)

적용 대상

추가 정보