OutputCacheProfileCollection.Get 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정된 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")