NevronOpenVision
Nevron.Nov Namespace / NSystem Class / SafeEquals Method
In This Topic
    SafeEquals Method (NSystem)
    In This Topic
    Safely calls the Equals method on obj1, by passing obj2 as argument. If both obj1 and obj2 are null, returns true. If either obj1 or obj2 is null, returns false. In all other cases returns the result of the obj1.Equals(obj2) method call.
    Overload List
    OverloadDescription
    Safely calls the Equals method on obj1, by passing obj2 as argument. If both obj1 and obj2 are null, returns true. If either obj1 or obj2 is null, returns false. In all other cases returns the result of the obj1.Equals(obj2) method call.  
    Safely calls the Equals method on obj1, by passing obj2 as argument. If both obj1 and obj2 are null, returns true. If either obj1 or obj2 is null, returns false. In all other cases returns the result of the obj1.Equals(obj2) method call.  
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also