ConfigurationElement.Item[] 속성

정의

ConfigurationElement 개체의 속성, 특성 또는 자식 요소를 가져오거나 설정합니다.

오버로드

Item[ConfigurationProperty]

이 구성 요소의 속성이나 특성을 가져오거나 설정합니다.

Item[String]

이 구성 요소의 속성, 특성 또는 자식 요소를 가져오거나 설정합니다.

설명

개체의 값을 얻거나 설정하려면 이 메서드를 ConfigurationProperty 사용합니다.

Item[ConfigurationProperty]

Source:
ConfigurationElement.cs
Source:
ConfigurationElement.cs
Source:
ConfigurationElement.cs

이 구성 요소의 속성이나 특성을 가져오거나 설정합니다.

protected:
 property System::Object ^ default[System::Configuration::ConfigurationProperty ^] { System::Object ^ get(System::Configuration::ConfigurationProperty ^ prop); void set(System::Configuration::ConfigurationProperty ^ prop, System::Object ^ value); };
protected public:
 property System::Object ^ default[System::Configuration::ConfigurationProperty ^] { System::Object ^ get(System::Configuration::ConfigurationProperty ^ prop); void set(System::Configuration::ConfigurationProperty ^ prop, System::Object ^ value); };
protected object this[System.Configuration.ConfigurationProperty prop] { get; set; }
protected internal object this[System.Configuration.ConfigurationProperty prop] { get; set; }
member this.Item(System.Configuration.ConfigurationProperty) : obj with get, set
Default Protected Property Item(prop As ConfigurationProperty) As Object
Default Protected Friend Property Item(prop As ConfigurationProperty) As Object

매개 변수

prop
ConfigurationProperty

액세스할 속성입니다.

속성 값

지정된 속성, 특성 또는 자식 요소입니다.

예외

propnull이거나 요소 내에 없는 경우

prop가 읽기 전용이거나 잠겨 있는 경우

설명

사용 된 Item[] 속성을 가져오기 또는 개체의 값을 설정 합니다 ConfigurationProperty .

C#에서 이 속성은 ConfigurationSectionCollection 클래스의 인덱서입니다.

적용 대상

Item[String]

Source:
ConfigurationElement.cs
Source:
ConfigurationElement.cs
Source:
ConfigurationElement.cs

이 구성 요소의 속성, 특성 또는 자식 요소를 가져오거나 설정합니다.

protected:
 property System::Object ^ default[System::String ^] { System::Object ^ get(System::String ^ propertyName); void set(System::String ^ propertyName, System::Object ^ value); };
protected public:
 property System::Object ^ default[System::String ^] { System::Object ^ get(System::String ^ propertyName); void set(System::String ^ propertyName, System::Object ^ value); };
protected object this[string propertyName] { get; set; }
protected internal object this[string propertyName] { get; set; }
member this.Item(string) : obj with get, set
Default Protected Property Item(propertyName As String) As Object
Default Protected Friend Property Item(propertyName As String) As Object

매개 변수

propertyName
String

액세스할 ConfigurationProperty의 이름입니다.

속성 값

지정된 속성, 특성 또는 자식 요소입니다.

예외

prop가 읽기 전용이거나 잠겨 있는 경우

설명

사용 된 Item[] 속성을 가져오기 또는 개체의 값을 설정 합니다 ConfigurationProperty .

C#에서 이 속성은 ConfigurationSectionCollection 클래스의 인덱서입니다.

적용 대상