GetCategoryName

string? GetCategoryName(this Element element)

Gets the display name of the element's category.

Parameters

  • elementElement

    The element instance.

Returns: The category name, or null if unavailable.

Example

string? name = element.GetCategoryName();