KeyValueConfigurationCollection.Item[String] 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
KeyValueConfigurationElement根据提供的参数获取对象。
public:
property System::Configuration::KeyValueConfigurationElement ^ default[System::String ^] { System::Configuration::KeyValueConfigurationElement ^ get(System::String ^ key); };
public System.Configuration.KeyValueConfigurationElement this[string key] { get; }
member this.Item(string) : System.Configuration.KeyValueConfigurationElement
Default Public ReadOnly Property Item(key As String) As KeyValueConfigurationElement
参数
- key
- String
集合中包含的键 KeyValueConfigurationElement 。
属性值
配置元素,或者 null 集合中不存在键。
注解
使用Item[]属性基于KeyValueConfigurationElement参数获取key集合中的对象。