Properties.itemByName Method

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

Description

Returns the specified Property using the name of the property.

Syntax

"properties_var" is a variable referencing a Properties object.
returnValue = properties_var.itemByName(name)
"properties_var" is a variable referencing a Properties object.

#include <Core/Application/Properties.h>

returnValue = properties_var->itemByName(name);

Return Value

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

Parameters

Name Type Description
name string The name of the property to return. This is the name as seen in the user interface.

Version

Introduced in version August 2014