# cxxTypedefAPIItemLocation

The <cxxTypedefAPIItemLocation> element is defined within <cxxTypedefDefinition>. <cxxTypedefAPIItemLocation> specifies the location of the API.

## Description

The <cxxTypedefAPIItemLocation> element must contain the location of the API declaration using <cxxTypedefDeclarationFile> and <cxxTypedefDeclarationFileLine>; the location of the API definition is optional.

## Example

    <cxxTypedefAPIItemLocation>
    				<cxxTypedefDeclarationFile name="filePath" value="D:/src/include/headerfile.h"/>
    				<cxxTypedefDeclarationFileLine name="lineNumber" value="775"/>
    				<cxxTypedefDefinitionFile name="filePath" value="D:/src/include/headerfile.h"/>
    			</cxxTypedefAPIItemLocation>

## Contained by

cxxTypedefDefinition

## Contains

cxxTypedefDeclarationFile cxxTypedefDeclarationFileLine

## Content Model

(cxxTypedefDeclarationFile then cxxTypedefDeclarationFileLine )

## Inheritance

topic/ph reference/ph apiRef/apiDefItem apiValue/apiDefItem cxxTypedef/cxxTypedefAPIItemLocation

Parent topic: cxxTypedef module