Properties.itemById Method

Parent Object: Properties
Defined in namespace "adsk::core" and the header file is <Core/Application/Properties.h>

Description

Returns the specified property from the collection using the unique ID of the property.

Syntax

"properties_var" is a variable referencing a Properties object.
returnValue = properties_var.itemById(id)
"properties_var" is a variable referencing a Properties object.

#include <Core/Application/Properties.h>

returnValue = properties_var->itemById(id);

Return Value

Type Description
Property Returns the specified property or null if the ID doesn't match a property within the collection.

Parameters

Name Type Description
id string The unique ID of the property.

Version

Introduced in version August 2014