# GetPropertyNames

Returns an array of names of all the properties of a specified object.

Inputs

    Syntax: GetPropertyNames(Object,[Levels])

Input | Description
--- | ---
Object | Reference to a cell containing an Object.
Levels | Specifies the depth of the properties whose name the function returns in the Array. This parameter allows you to define how deep in the object hierarchy the function goes to return the property names. Parameter Example The following image shows an example of different specified levels. The first column shows the array of property names derived from blobs output by a Toolchain Contains a group of tools and the sequence of execution for each tool. function when the specified level is 0. The second column shows the array of property names derived from blobs when the specified level is 1.

Outputs

Returns | An Array structure that contains the names of the properties of the specified Object.