Edit

Share via


ServiceModelConfigurationElement.SetPropertyValueIfNotDefaultValue<T> Method

Definition

Sets the property value for the configuration element if the value is not the default value.

protected void SetPropertyValueIfNotDefaultValue<T>(string propertyName, T value);

Type Parameters

T

The property value.

Parameters

propertyName
String

The name of the property.

value
T

The property value to be set.

Applies to