HasUnoInterfaces Function

Tests if a Basic Uno object supports certain Uno interfaces.

Returns True, if all stated Uno interfaces are supported, otherwise False is returned.

Syntaks:

HasUnoInterfaces( oTest, Uno-Interface-Name 1 [, Uno-Interface-Name 2, ...])

Returverdi:

Bool

Parametre:

oTest: the Basic Uno object that you want to test.

Uno-Interface-Name: list of Uno interface names.

Eksempel:


    bHas = HasUnoInterfaces( oTest, "com.sun.star.beans.XIntrospection" )

Supporter oss!