LibreOffice 24.8 Help
Vráti True, ak je daný objekt Uno struct.
IsUnoStruct( Uno type )
Boolean
Uno type : A UnoObject
Sub Main
Dim bIsStruct
' Inicializuje sluĹľbu
Dim oSimpleFileAccess
oSimpleFileAccess = CreateUnoService( "com.sun.star.ucb.SimpleFileAccess" )
bIsStruct = IsUnoStruct( oSimpleFileAccess )
MsgBox bIsStruct ' ZobrazĂ False, lebo oSimpleFileAccess NIE JE struct
' Inicializácia vlastnosti struct
Dim aProperty As New com.sun.star.beans.Property
bIsStruct = IsUnoStruct( aProperty )
MsgBox bIsStruct ' ZobrazĂ True, lebo aProperty je struct
bIsStruct = IsUnoStruct( 42 )
MsgBox bIsStruct ' ZobrazĂ False, lebo 42 NIE JE struct
End Sub