Share via


EcoResCategory.setCategoryStatus Method

Sets the CategoryStatus value.

Syntax

public void setCategoryStatus(boolean _status, [boolean _onlyThisCategory])

Run On

ClientOrServer

Parameters

  • _status
    Type: boolean
    A Boolean value that indicates whether to enable this category.

Remarks

When a category is deactivated, all its descendant categories are also deactivated.

When a category is enabled, all decendant and ascendant categories are also enabled.

See Also

Reference

EcoResCategory Table