# GetProperty

GetProperty returns any of the high-level properties from an object. For more information about objects and properties, see Get.

Example

In this example, the GetProperty tool shows the value of the specified property of an object.

Inputs

The GetProperty function Functions are tools that are available in Spreadsheet for processing and analyzing acquisitions or other results. You can add functions to your Spreadsheet job to create tool chains and produce results for specific applications. has the following syntax:

GetProperty(Object, Property)

Parameter | Description
--- | ---
Object | Refers to an object or an array cell.
Property | Refers to the path of the property in the object.

Outputs

Returns | Returns the value of the specified property of an object.

Differences Between Get and GetProperty

The purpose of Get is similar to the purpose of the GetProperty function but they have the following differences in usage:

- If both Get and GetProperty are options, consider using GetProperty. GetProperty has a property sheet that makes viewing the properties easier.

- The Get function, however, is more useful when you need to dynamically generate a path or a portion of a path using cell references or subexpressions.

- Get does not have a property sheet, which means you can use it within a formula.

- GetProperty can access boths arrays and objects, but the path needs to be a constant string.

- GetProperty uses forward slashes (/) for separating the paths that it generates.

- Get can use dots (.) or forward slashes (/) for paths.