ServiceModelConfigurationElementCollection<ConfigurationElementType>.Add Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Dodaje określony element konfiguracji do tej kolekcji.
public:
void Add(ConfigurationElementType element);
public void Add(ConfigurationElementType element);
member this.Add : 'ConfigurationElementType -> unit
Public Sub Add (element As ConfigurationElementType)
Parametry
- element
- ConfigurationElementType
Element konfiguracji do dodania.
Wyjątki
element wartość jest pusta lub jest null pusta.