IBM Lotus Symphony
|
Gibt True zurück, wenn es sich bei dem Objekt um ein UnoStruct handelt.
IsUnoStruct( Uno-Typ )
Bool
Uno-Typ: Ein UnoObject
Sub Main
Dim bIsStruct
' Instanziieren eines Services
Dim oSimpleFileAccess
oSimpleFileAccess = CreateUnoService( "com.sun.star.ucb.SimpleFileAccess" )
bIsStruct = IsUnoStruct( oSimpleFileAccess )
MsgBox bIsStruct ' Zeigt False an, da oSimpleFileAccess NICHT vom Typ "Struct" ist
' Instanziieren einer Eigenschaftenstruktur
Dim aProperty As New com.sun.star.beans.Property
bIsStruct = IsUnoStruct( aProperty )
MsgBox bIsStruct ' Zeigt True an, da aProperty vom Typ "Struct" ist
bIsStruct = IsUnoStruct( 42 )
MsgBox bIsStruct ' Zeigt False an, da 42 NICHT vom Typ "Struct" ist
End Sub