ConfigurationElementCollection.ElementName 属性

定义

获取在派生的类中重写时用于标识配置文件中此元素集合的名称。

protected:
 virtual property System::String ^ ElementName { System::String ^ get(); };
protected virtual string ElementName { get; }
member this.ElementName : string
Protected Overridable ReadOnly Property ElementName As String

属性值

String

集合的名称;否则为空字符串。 默认值为一个空字符串。

注解

重写属性 ElementName 以命名自定义 ConfigurationElementCollection

适用于