ServiceModelConfigurationElementCollection<ConfigurationElementType>.CreateNewElement 方法

定义

创建一个 ConfigurationElementType 类型的新 ConfigurationElement 实例。Creates a new ConfigurationElement instance of type ConfigurationElementType.

protected:
 override System::Configuration::ConfigurationElement ^ CreateNewElement();
protected override System.Configuration.ConfigurationElement CreateNewElement ();
override this.CreateNewElement : unit -> System.Configuration.ConfigurationElement
Protected Overrides Function CreateNewElement () As ConfigurationElement

返回

ConfigurationElement

类型 ConfigurationElementType 的一个新的 ConfigurationElement 实例。A new ConfigurationElement instance of type ConfigurationElementType.

适用于