dEwqh‖IsUnoStruct Function

Contents
J4WtE‖

# JG2fN‖IsUnoStruct Function

fN4db‖Returns True if the given object is a Uno struct.

### FVEx2‖Syntax:

LupP4‖IsUnoStruct( Uno type )

### bBBqF‖Return type:

Boolean

### WADQ4‖Parameters:

uXjgH‖Uno type : A UnoObject

### EFSA4‖Example:

    Sub Main
    Dim bIsStruct
    AsDnS‖' Instantiate a service
    Dim oSimpleFileAccess
    oSimpleFileAccess = CreateUnoService( "com.sun.star.ucb.SimpleFileAccess" )
    bIsStruct = IsUnoStruct( oSimpleFileAccess )
    LCwgD‖MsgBox bIsStruct ' Displays False because oSimpleFileAccess Is NO struct
    LG9EY‖' Instantiate a Property struct
    Dim aProperty As New com.sun.star.beans.Property
    bIsStruct = IsUnoStruct( aProperty )
    oAzvu‖MsgBox bIsStruct ' Displays True because aProperty is a struct
    bIsStruct = IsUnoStruct( 42 )
    yJT9o‖MsgBox bIsStruct ' Displays False because 42 is NO struct
    End Sub

Please support us!