ConfigurationElementCollection.AddElementName 屬性

定義

取得或設定 ConfigurationElement 的名稱,以在衍生類別中覆寫時,與 ConfigurationElementCollection 中的加入作業相關聯。

protected:
 property System::String ^ AddElementName { System::String ^ get(); void set(System::String ^ value); };
protected public:
 property System::String ^ AddElementName { System::String ^ get(); void set(System::String ^ value); };
protected string AddElementName { get; set; }
protected internal string AddElementName { get; set; }
member this.AddElementName : string with get, set
Protected Property AddElementName As String
Protected Friend Property AddElementName As String

屬性值

元素的名稱。

例外狀況

選取的值以保留的前置詞 "config" 或 "lock" 當做開頭。

適用於