IsUnoStruct Function/text/sbasic/shared/03104500.xhpIsUnoStruct functionIsUnoStruct FunctionReturns True if the given object is a Uno struct.IsUnoStruct( Uno type )BooleanUno type : A UnoObjectSub MainDim bIsStruct' Instantiate a serviceDim oSimpleFileAccessoSimpleFileAccess = CreateUnoService( "com.sun.star.ucb.SimpleFileAccess" )bIsStruct = IsUnoStruct( oSimpleFileAccess )MsgBox bIsStruct ' Displays False because oSimpleFileAccess Is NO struct' Instantiate a Property structDim aProperty As New com.sun.star.beans.PropertybIsStruct = IsUnoStruct( aProperty )MsgBox bIsStruct ' Displays True because aProperty is a structbIsStruct = IsUnoStruct( 42 )MsgBox bIsStruct ' Displays False because 42 is NO structEnd Sub