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.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also