EqualUnoObjects Function

αžαŸ’αžšαž‘αž”αŸ‹ αž–αž·αž αž”αžΎβ€‹αžœαžαŸ’αžαž» Uno Basic αžŠαŸ‚αž›β€‹αž”αžΆαž“β€‹αž”αž‰αŸ’αž‡αžΆαž€αŸ‹β€‹β€‹β€‹αž‘αžΆαŸ†αž„β€‹αž–αžΈαžš αžαŸ†αžŽαžΆαž„β€‹αž²αŸ’αž™β€‹αžœαžαŸ’αžαž» Uno αžŠαžΌαž…β€‹αž‚αŸ’αž“αžΆΒ αŸ”

Syntax:

EqualUnoObjects( oObj1, oObj2 )

Return value:

αž”αŸŠαžΌαž›

Example:


    ' 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 )

Please support us!