EqualUnoObjects Function

지정한 두 개의 Basic Uno 개체가 동일한 Uno 개체 인스턴스를 나타낼 경우 True를 구합니다.

Syntax:

EqualUnoObjects( oObj1, oObj2 )

Return value:

Bool

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!