Milestones.itemByName Method

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

Description

Returns the milestone specified using its name..

Syntax

"milestones_var" is a variable referencing a Milestones object.
returnValue = milestones_var.itemByName(name)
"milestones_var" is a variable referencing a Milestones object.

#include <Core/Dashboard/Milestones.h>

returnValue = milestones_var->itemByName(name);

Return Value

Type Description
Milestone Returns the Milestone object or null if a milestone with the specified name is not found.

Parameters

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

Version

Introduced in version March 2024