property Property.PropertyObject as Boolean

Retrieves a value that indicates whether the property is an object or non object.

TypeDescription
Boolean A boolean expression that indicates whether the Property object contains an Object.

Use the Value property to get the object contained by the property. All the properties of object type are displayed as bold. If the Property object contains a category item, the PropertyObject property is False.  Use the ShowObjects property to show properties of object type into the control.  For instance a property of IFontDisp type is considered as been as object type. Use the Type to get the string representation of the property's object type. The following sample shows how to simulate the VB browser ( make sure that ShowObjects property is True ):

Private Sub PropertiesList1_IncludeProperty(ByVal Property As EXPROPERTIESLISTLibCtl.IProperty, Cancel As Boolean)
    Cancel = Property.PropertyObject
    If (Cancel) Then
        Cancel = Not (Property.Type = "Font*" Or Property.Type = "Picture*")
    End If
End Sub