次の方法で共有


ConfigurationElement.Item[String] プロパティ

定義

指定した名前の属性を取得または設定します。

public:
 property System::Object ^ default[System::String ^] { System::Object ^ get(System::String ^ attributeName); void set(System::String ^ attributeName, System::Object ^ value); };
public object this[string attributeName] { get; set; }
member this.Item(string) : obj with get, set
Default Public Property Item(attributeName As String) As Object

パラメーター

attributeName
String

属性の名前。

プロパティ値

ConfigurationAttribute指定した attributeNameを持つ オブジェクト。

注釈

または メソッドを使用GetAttributeValueSetAttributeValueして属性値を取得または設定することもできます。 最適なシステム パフォーマンスを得る場合は、 プロパティではなく、これらのメソッドを使用する Item[] 必要があります。

適用対象