EqualUnoObjects Function
지정한 두 개의 Basic Uno 개체가 동일한 Uno 개체 인스턴스를 나타낼 경우 True를 구합니다.
구문:
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 )