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中的物件。

適用於