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 )