# cxxStructAPIItemLocation

The <cxxStructAPIItemLocation> element is defined within <cxxStructDefinition>. <cxxStructAPIItemLocation> specifies the location of the API.

## Description

The <cxxStructAPIItemLocation> element must contain the location of the API declaration using <cxxStructDeclarationFile> and <cxxStructDeclarationFileLine>; the location of the API definition is optional.

## Example

    <cxxStructAPIItemLocation>
    				<cxxStructDeclarationFile name="filePath" value="D:/src/include/headerfile.h"/>
    				<cxxStructDeclarationFileLine name="lineNumber" value="775"/>
    				<cxxStructDefinitionFile name="filePath" value="D:/src/include/headerfile.h"/>
    				<cxxStructDefinitionFileLineStart name="lineNumber" value="765"/>
    				<cxxStructDefinitionFileLineEnd name="lineNumber" value="787"/>
    			</cxxStructAPIItemLocation>

## Contained by

cxxStructDefinition

## Contains

cxxStructDeclarationFile cxxStructDeclarationFileLine cxxStructDefinitionFile cxxStructDefinitionFileLineEnd cxxStructDefinitionFileLineStart

## Content Model

(cxxStructDeclarationFile then cxxStructDeclarationFileLine then cxxStructDefinitionFile (optional) then cxxStructDefinitionFileLineStart (optional) then cxxStructDefinitionFileLineEnd (optional) )

## Inheritance

topic/ph reference/ph apiRef/apiDefItem apiClassifier/apiDefItem cxxStruct/cxxStructAPIItemLocation

Parent topic: cxxStruct module