EqualUnoObjects-functie
Geeft Waar terug als de twee gegeven BASIC-Uno-objecten dezelfde Uno-objectverzameling vertegenwoordigen.
Syntaxis:
EqualUnoObjects( oObj1, oObj2 )
Teruggegeven waarde:
Booleaans
Voorbeeld:
' Kopiëren van objecten -> dezelfde verzameling
oIntrospection = CreateUnoService( "com.sun.star.beans.Introspection" )
oIntro2 = oIntrospection
print EqualUnoObjects( oIntrospection, oIntro2 )
' Kopiëren van structs als waarde -> nieuw exemplaar
Dim Struct1 as new com.sun.star.beans.Property
Struct2 = Struct1
print EqualUnoObjects( Struct1, Struct2 )