GetCategoryType
CategoryType GetCategoryType(this Element element)Gets the category type of the element.
Parameters
- elementElement
The element instance.
Returns: The CategoryType, or CategoryType.Invalid if unavailable.
Example
CategoryType t = element.GetCategoryType();