# element\_name.h - [Overview](#section221536493165626) - [Summary](#section880640720165626) - [Data Structures](#nested-classes) - [Functions](#func-members) ## **Overview** **Related Modules:** [BundleManager](BundleManager.md) **Description:** Declares the structure that defines the required information for querying [AbilityInfo](AbilityInfo.md), including the device ID, bundle name, and class name, and functions for setting such information. You can use functions provided in this file to specify the information for querying [AbilityInfo](AbilityInfo.md). **Since:** 1.0 **Version:** 1.0 ## **Summary** ## Data Structures

Data Structure Name

Description

ElementName

Defines the ability information.

## Functions

Function

Description

ClearElement (ElementName *element)

void

Clears the internal data of a specified ElementName.

SetElementDeviceID (ElementName *element, const char *deviceId)

bool

Sets the device ID used to query AbilityInfo.

SetElementBundleName (ElementName *element, const char *bundleName)

bool

Sets the bundle name used to query AbilityInfo.

SetElementAbilityName (ElementName *element, const char *abilityName)

bool

Sets the class name of the ability used to query AbilityInfo.