언어

OutputCacheProfileCollection.Get 메서드

정의

지정된 OutputCacheProfileCollection 요소를 가져옵니다.

오버로드

속성 Description
Get(Int32)

지정된 인덱스에서 OutputCacheProfile 요소를 가져옵니다.

Get(String)

OutputCacheProfile 지정된 이름을 가진 요소를 가져옵니다.

Get(Int32)

지정된 인덱스에서 OutputCacheProfile 요소를 가져옵니다.

public:
 System::Web::Configuration::OutputCacheProfile ^ Get(int index);
public System.Web.Configuration.OutputCacheProfile Get(int index);
member this.Get : int -> System.Web.Configuration.OutputCacheProfile
Public Function Get (index As Integer) As OutputCacheProfile

매개 변수

index
Int32

요소의 인덱스입니다 OutputCacheProfileCollection .

반품

OutputCacheProfile 지정된 인덱스 요소입니다.

예제

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

// Get the profile with the specified name.
System.Web.Configuration.OutputCacheProfile outputCacheProfile4 =
  outputCacheProfiles.Get("MyCacheProfile");
'Get the profile with the specified name.
Dim outputCacheProfile4 _
As System.Web.Configuration.OutputCacheProfile = _
outputCacheProfiles.Get("MyCacheProfile")

참고 항목

적용 대상

Get(String)

OutputCacheProfile 지정된 이름을 가진 요소를 가져옵니다.

public:
 System::Web::Configuration::OutputCacheProfile ^ Get(System::String ^ name);
public System.Web.Configuration.OutputCacheProfile Get(string name);
member this.Get : string -> System.Web.Configuration.OutputCacheProfile
Public Function Get (name As String) As OutputCacheProfile

매개 변수

name
String

요소의 이름입니다 OutputCacheProfileCollection .

반품

OutputCacheProfile 지정된 이름의 요소입니다.

예제

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

// Get the profile with the specified name.
System.Web.Configuration.OutputCacheProfile outputCacheProfile4 =
  outputCacheProfiles.Get("MyCacheProfile");
'Get the profile with the specified name.
Dim outputCacheProfile4 _
As System.Web.Configuration.OutputCacheProfile = _
outputCacheProfiles.Get("MyCacheProfile")

참고 항목

적용 대상