The describeDataCategoryGroups method returns a Schema.DescribeDataCategoryGroupResult object containing the list of the category groups associated with the specified object.
For additional information and code examples using describeDataCategoryGroups, see Accessing All Data Categories Associated with an sObject.
List <String> objType = new List<String>(); objType.add('KnowledgeArticleVersion'); objType.add('Question'); List<Schema.DescribeDataCategoryGroupResult> describeCategoryResult = Schema.describeDataCategoryGroups(objType);
The following are methods for DescribeDataCategoryGroupResult. All are instance methods.
public Integer getCategoryCount()
Type: Integer
public String getDescription()
Type: String
public String getLabel()
Type: String
public String getName()
Type: String
public String getSobject()
Type: String