Document Library for WPF | ComponentOne
C1.WPF.Document.4.6.2 Assembly / C1.WPF.Document Namespace / Utils Class / AreObjectsEqual Method
First object.
Second object.

In This Topic
    AreObjectsEqual Method
    In This Topic
    Compares two objects using Equals() methods, returns true if both objects are null. Null and System.DBNull interpretted as same values.
    Syntax
    'Declaration
     
    Public Shared Function AreObjectsEqual( _
       ByVal v1 As Object, _
       ByVal v2 As Object _
    ) As Boolean
    public static bool AreObjectsEqual( 
       object v1,
       object v2
    )

    Parameters

    v1
    First object.
    v2
    Second object.

    Return Value

    Returns true if objects are equal, false otherwise.
    See Also