ServiceModelConfigurationElement.SetPropertyValueIfNotDefaultValue<T> Metoda

Definicja

Ustawia wartość właściwości elementu konfiguracji, jeśli wartość nie jest wartością domyślną.

protected:
generic <typename T>
 void SetPropertyValueIfNotDefaultValue(System::String ^ propertyName, T value);
protected void SetPropertyValueIfNotDefaultValue<T> (string propertyName, T value);
member this.SetPropertyValueIfNotDefaultValue : string * 'T -> unit
Protected Sub SetPropertyValueIfNotDefaultValue(Of T) (propertyName As String, value As T)

Parametry typu

T

Wartość właściwości.

Parametry

propertyName
String

Nazwa właściwości.

value
T

Wartość właściwości, która ma zostać ustawiona.

Dotyczy