EqualUnoObjects Function

གསལ་བཀོད་འབད་ཡོད་མི་གཞི་རིམ་ཡུ་ཨེན་ཨོ་དངོས་པོ་གཉིས་ ཡུ་ཨེན་ཨོ་དངོས་པོ་དུས་སྐབས་ཅོག་འཐདཔ་ཁྱད་ཚབ་འབད་མི་ཨིན་པ་ཅིན་བདེན་པ་སླར་ལོགཔ་ཨིན།

ཚིག་སྦྱོར:

EqualUnoObjects( oObj1, oObj2 )

གནས་གོང་སླར་ལོག:

བུལ།

དཔེར་བརྗོད:

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