語言

KeyValueConfigurationCollection.Item[String] 屬性

定義

根據提供的參數取得 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物件。

適用於