ConfigurationPropertyCollection.Add(ConfigurationProperty) Metod

Definition

Lägger till en konfigurationsegenskap i samlingen.

public:
 void Add(System::Configuration::ConfigurationProperty ^ property);
public void Add(System.Configuration.ConfigurationProperty property);
member this.Add : System.Configuration.ConfigurationProperty -> unit
Public Sub Add (property As ConfigurationProperty)

Parametrar

property
ConfigurationProperty

Att ConfigurationProperty lägga till.

Exempel

I följande exempel visas hur du Add använder metoden.

Kommentarer

Som standard Add lägger metoden till det angivna ConfigurationProperty objektet, om det inte redan finns i samlingen.

Gäller för

Se även