company logo

PropertyHandle :: GetGenAttrType - Get generic attribute type

The function returns the internal type value of the generic attribute, that has been selected as current attribute type (SetGenAttribute()). When the property handle does not refer to a generic attribute, w_propnames should refer to the generic attribute, which is to be checked.

When not passing a property name for a non generic property, the function returns the generic type for the generic order, when a generic sort order has been set.

When no generic type could be determined, the function returns 0 (UNDEF).

Return value:  Type of generic attribute ( int32  )

Implementation details

int32 PropertyHandle  :: GetGenAttrType ( NString &w_propnames=NString::Null() )
  • w_propnames - Property name

    The property name is passed as 0-terminated string. It may contain a property path that consists of a sequence of property names. NULL is passed if no property name is available.

    Default: NString::Null()