RuleSettingsCollection.Item[] 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
개체를 BufferModeSettings 가져옵니다.
오버로드
| 속성 | Description |
|---|---|
| Item[Int32] |
RuleSettings 지정된 숫자 인덱스에서 개체를 가져옵니다. |
| Item[String] |
컬렉션에서 RuleSettings 지정된 키를 기반으로 개체를 가져옵니다. |
Item[Int32]
RuleSettings 지정된 숫자 인덱스에서 개체를 가져옵니다.
public:
property System::Web::Configuration::RuleSettings ^ default[int] { System::Web::Configuration::RuleSettings ^ get(int index); void set(int index, System::Web::Configuration::RuleSettings ^ value); };
public System.Web.Configuration.RuleSettings this[int index] { get; set; }
member this.Item(int) : System.Web.Configuration.RuleSettings with get, set
Default Public Property Item(index As Integer) As RuleSettings
매개 변수
- index
- Int32
컬렉션에 있는 RuleSettings 개체의 인덱스입니다.
속성 값
RuleSettings 지정된 인덱스에서 개체입니다.
예외
인덱스가 범위를 벗어났습니다.
예제
다음 코드 예제에서는 메서드를 사용 하는 방법을 보여 있습니다 Item[] . 이 코드 예제는 클래스에 제공된 더 큰 예제의 HealthMonitoringSection 일부입니다.
ruleSetting = healthMonitoringSection.Rules[i];
ruleSetting = healthMonitoringSection.Rules(i)
설명
지정된 인 RuleSettings 덱스에서 개체가 있어야 합니다.
참고 항목
적용 대상
Item[String]
컬렉션에서 RuleSettings 지정된 키를 기반으로 개체를 가져옵니다.
public:
property System::Web::Configuration::RuleSettings ^ default[System::String ^] { System::Web::Configuration::RuleSettings ^ get(System::String ^ key); };
public System.Web.Configuration.RuleSettings this[string key] { get; }
member this.Item(string) : System.Web.Configuration.RuleSettings
Default Public ReadOnly Property Item(key As String) As RuleSettings
매개 변수
- key
- String
컬렉션에 RuleSettings 포함된 개체의 이름입니다.
속성 값
RuleSettings 개체입니다.