>

EqualUnoObjects Function

True āĻĒā§āϰāĻĻāĻžāύ āĻ•āϰ⧇ āϝāĻĻāĻŋ āωāĻ˛ā§āϞ⧇āĻ–āĻŋāϤ āĻĻ⧁āχāϟāĻŋ Uno āĻŦāĻ¸ā§āϤ⧁ , āĻāĻ•āχ Uno āĻŦāĻ¸ā§āϤ⧁ āĻĻ⧃āĻˇā§āϟāĻžāĻ¨ā§āϤ āύāĻŋāĻ°ā§āĻĻ⧇āĻļ āĻ•āϰ⧇ āĻĨāĻžāϕ⧇āĨ¤

āϏāĻŋāύāĻŸā§āϝāĻžāĻ•ā§āϏ:


EqualUnoObjects( oObj1, oObj2 )

āĻĒā§āϰāĻĻāĻžāύ āĻŽāĻžāύ:

Bool

āωāĻĻāĻžāĻšāϰāĻŖ:


    ' Copy of objects -> same instance
    oIntrospection = CreateUnoService( "com.sun.star.beans.Introspection" )
    oIntro2 = oIntrospection
    print EqualUnoObjects( oIntrospection, oIntro2 )
    ' Copy of structs as value -> new instance
    Dim Struct1 as new com.sun.star.beans.Property
    Struct2 = Struct1
    print EqualUnoObjects( Struct1, Struct2 )