Share via


categories Element

Applies To: Windows Server 2008

The categories element is a table of category elements.

Syntax

  <categories>
    <category … </category>
</categories>

Attributes

There are no attributes associated with this element.

Child elements

Element Required Description

category Element

Yes

Specifies the name of a unique category to be displayed in the Group Policy Object Editor.

Note

For simplicity of documentation, nested elements located one level down, known as child elements, will only be described for a given element.

Remarks

If there are no category elements to be specified in this .admx file, you can omit the categories element. If you include the categories element in the .admx file, you must define at least one category element. The categories element is defined at most once in an .admx file.

Examples

This XML fragment is an example of a single unique category referencing a string in the .adml file.

  <categories>
    <category name="SAMPLE" displayName="$(string.SAMPLE)"
       explainText="$(string.SAMPLEHELP)">  
       <!-- sample category -->
       <parentCategory ref="windows:WindowsComponents" />
       <seeAlso> policy </seeAlso>
       <keywords> custom </keywords>
    </category>
  </categories>

Additional references

policyDefinitions Element