Contents
Index 🔎︎

# IsUnoStruct Function

ត្រឡប់ ពិត បើ​វត្ថុ​ដែល​បាន​ផ្តល់​គឺ​ជា​រចនា​សម្ព័ន្ធ Uno មួយ ។

### Syntax:

IsUnoStruct( Uno type )

### Return value:

ប៊ូល

### Parameters:

ប្រភេទ Uno ៖ UnoObject មួយ

### Example:

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