ServiceModelConfigurationElement.SetPropertyValueIfNotDefaultValue<T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The name of the property.
- value
- T
The property value to be set.
Applies to
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.