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