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 オブジェクトを取得します。

適用対象