อ่านในภาษาอังกฤษ แก้ไข

แชร์ผ่าน


ServiceModelConfigurationElement.SetPropertyValueIfNotDefaultValue<T> Method

Definition

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

C#
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

ผลิตภัณฑ์ เวอร์ชัน
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1