언어

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 키의 인덱스입니다.

반품

지정된 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)

적용 대상

참고 항목