company logo

Property :: genericAttributeType - Generic attribute type property

The generic attribute type property provides the generic type currently set for a generic attribute. The generic attribute type is defined as user enumeration. Thus, the generic attribute type can be set by enumerator name or enumerator code.

In order to change the generic type for a generic attribute, setGenericAttributeType() might be called.

Return value:  Type of generic attribute ( int32  )

The type for a generic attribute is a valid value from the basic enumeration of the generic attribute. 0 indicates an undefined generic type.

Implementation details

int32 Property  :: genericAttributeType (  )

The function returns the current setting for the generic attribute value as type number (enumerator code).

When the property handle is not valid or when the property is not a generic attribute, the function throws an exception.