# cxxenumeration

The <cxxenumeration> element is a reference to a C++ enumeration.

## Description

The <cxxenumeration> element can be used to reference a C++ enumeration from another topic type.

## Example

    <task id="connectionsxml">
      <title>Connections</title>
      <taskbody>

        <steps>
        <step><cm>Open the connection</cm>
          <info>You can use <cxxenumeration keyref="enumerationkey">eConnectionTypes enumeration</cxxenumeration>
          in a C++ application.</info>

        </step>
        ...
        </steps>
      </taskbody>
    </task>

## Contained by

## Contains

## Content Model

No content.

## Inheritance

topic/xref pr-d/xref api-d/apipackage cxxapi-d/cxxenumeration

Parent topic: cxxapi-domain module