Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft