Share via


Collection-Level .HxA File

The collection-level .HxA file defines the Help collection's unique attributes and values. The collection-level .HxA file is required only if you want to expose attributes or values not in the MSDN attribute schema. If you did not define new attributes or values, or you do not want to expose the new attributes and values to users, then you do not need to create a collection-level .HxA file.

Note

For usability and performance reasons, Microsoft recommends that you do not create new attributes. Instead, Microsoft recommends that you modify the existing MSDN attribute schema to suit the needs of your documentation set by adding appropriate new values to the existing attributes. For more information about the MSDN attribute schema, see Attributes in Visual Studio and MSDN Attribute Schema.

Example

The following example shows a collection-level .HxA file that adds a value of MyDocSet to the Visual Studio DocSet attribute:

<?xml version="1.0" encoding="utf-8" ?> 
<!DOCTYPE HelpAttributes>
<HelpAttributes DTDVersion="1.0">
   <AttName Name="DocSet" Display="Yes" UIString="DocSet" AttType="Enum">
      <AttVal Name="MyDocSet" Display="Yes" UIString="My Documentation" />
   </AttName>
</HelpAttributes>

See Also

Other Resources

Collection-Level Files