'Declaration
Public Shared Function ShouldSerializeValue( _ ByVal obj As Object, _ ByVal propertyName As String _ ) As Boolean
public static bool ShouldSerializeValue( object obj, string propertyName )
Parameters
- obj
- The specified object.
- propertyName
- Name of the specified property.
Return Value
true if the current value of the property is different from its default value; otherwise, false.