# cxxVariableAPIItemLocation

The <cxxVariableAPIItemLocation> element specifies the location of the API.

## Description

The <cxxVariableAPIItemLocation> element must contain the location of the API declaration using <cxxVariableDeclarationFile> and <cxxVariableDeclarationFileLine>; the location of the API definition is optional.

## Example

    <cxxVariableAPIItemLocation>
        <cxxVariableDeclarationFile name="filePath" value="C:/src/include/w32adll.h"/>
        <cxxVariableDeclarationFileLine name="lineNumber" value="908"/>
    </cxxVariableAPIItemLocation>

## Contained by

cxxVariableDefinition

## Contains

cxxVariableDeclarationFile cxxVariableDeclarationFileLine

## Content Model

(cxxVariableDeclarationFile then cxxVariableDeclarationFileLine )

## Inheritance

topic/ph reference/ph apiRef/apiDefItem apiValue/apiDefItem cxxVariable/cxxVariableAPIItemLocation

Parent topic: cxxVariable module