ServiceModelConfigurationElement::SetPropertyValueIfNotDefaultValue<T> Method (String^, T)

.NET Framework (current version)
 

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

Namespace:   System.ServiceModel.Configuration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

protected:
generic<typename T>
void SetPropertyValueIfNotDefaultValue(
	String^ propertyName,
	T value
)

Parameters

propertyName
Type: System::String^

The name of the property.

value
Type: T

The property value to be set.

Type Parameters

T

The property value.

.NET Framework
Available since 4.5
Return to top
Show: