ProductPreferencesCollection.itemByName Method

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

Description

Returns the ProductPreference object with the specified name.

Syntax

"productPreferencesCollection_var" is a variable referencing a ProductPreferencesCollection object.
returnValue = productPreferencesCollection_var.itemByName(name)
"productPreferencesCollection_var" is a variable referencing a ProductPreferencesCollection object.

#include <Core/Application/ProductPreferencesCollection.h>

returnValue = productPreferencesCollection_var->itemByName(name);

Return Value

Type Description
ProductPreferences Returns the ProductPreferences object or null if if an invalid name was specified.

Parameters

Name Type Description
name string The name of the ProductPreferences to return.

Version

Introduced in version August 2014