BufferModesCollection.Item[] 속성

정의

개체를 BufferModeSettings 가져옵니다.

오버로드

Name Description
Item[Int32]

컬렉션에서 BufferModeSettings 지정된 숫자 인덱스가 있는 개체를 가져옵니다.

Item[String]

컬렉션에서 BufferModeSettings 지정된 키를 기반으로 개체를 가져옵니다.

Item[Int32]

컬렉션에서 BufferModeSettings 지정된 숫자 인덱스가 있는 개체를 가져옵니다.

public:
 property System::Web::Configuration::BufferModeSettings ^ default[int] { System::Web::Configuration::BufferModeSettings ^ get(int index); void set(int index, System::Web::Configuration::BufferModeSettings ^ value); };
public System.Web.Configuration.BufferModeSettings this[int index] { get; set; }
member this.Item(int) : System.Web.Configuration.BufferModeSettings with get, set
Default Public Property Item(index As Integer) As BufferModeSettings

매개 변수

index
Int32

컬렉션에 있는 BufferModeSettings 개체의 유효한 인덱스입니다.

속성 값

BufferModeSettings 지정된 인덱스에서 개체입니다.

예제

다음 코드 예제에서는 메서드를 사용 하는 방법을 보여 있습니다 Item[] . 이 코드 예제는 클래스에 제공된 더 큰 예제의 HealthMonitoringSection 일부입니다.

bufferModeSetting = healthMonitoringSection.BufferModes[i];
bufferModeSetting = healthMonitoringSection.BufferModes(i)

추가 정보

적용 대상

Item[String]

컬렉션에서 BufferModeSettings 지정된 키를 기반으로 개체를 가져옵니다.

public:
 property System::Web::Configuration::BufferModeSettings ^ default[System::String ^] { System::Web::Configuration::BufferModeSettings ^ get(System::String ^ key); };
public System.Web.Configuration.BufferModeSettings this[string key] { get; }
member this.Item(string) : System.Web.Configuration.BufferModeSettings
Default Public ReadOnly Property Item(key As String) As BufferModeSettings

매개 변수

key
String

컬렉션에 BufferModeSettings 포함된 개체의 이름입니다.

속성 값

BufferModeSettings 개체입니다.

적용 대상