ServiceModelConfigurationElement.SetPropertyValueIfNotDefaultValue(String, T) ServiceModelConfigurationElement.SetPropertyValueIfNotDefaultValue(String, T) ServiceModelConfigurationElement.SetPropertyValueIfNotDefaultValue(String, T) ServiceModelConfigurationElement.SetPropertyValueIfNotDefaultValue(String, T) Method

Definition

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

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)

Type Parameters

T

The property value.

Parameters

propertyName
String String String String

The name of the property.

value

The property value to be set.

Applies to