ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>.Add Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds the specified element to this configuration section.
public:
virtual void Add(TServiceModelExtensionElement element);
public virtual void Add(TServiceModelExtensionElement element);
abstract member Add : 'ServiceModelExtensionElement -> unit
override this.Add : 'ServiceModelExtensionElement -> unit
Public Overridable Sub Add (element As TServiceModelExtensionElement)
- element
- TServiceModelExtensionElement
A ServiceModelExtensionElement to be added.
element
is null
.
The configuration file is read-only.
element
already exists in the collection.
-or-
The element type specified by element
is not permitted.
Продукт | Версии |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Отзыв о .NET
.NET — это проект с открытым исходным кодом. Выберите ссылку, чтобы оставить отзыв: