TouchToolKit for WinForms | ComponentOne
C1.Win.TouchToolKit Namespace / ZoomPolicy Class / ShouldSerializeValue Method
The specified object.
Name of the specified property.

In This Topic
    ShouldSerializeValue Method (ZoomPolicy)
    In This Topic
    Determines a value indicating whether the value of the specified object's specified property needs to be persisted.
    Syntax
    '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.
    See Also