ChartOfCharacteristicTypesManager.<Chart of characteristic types name>.FindByDescription
Syntax:
Parameters:
<Description> (required)
String containing the search description.
<ExactMap> (optional)
Determines search by exact mapping mode.
The search will be successful if the search string: matches the left part of the description when the parameter value is False; or matches the full description (excluding trailing spaces) when the parameter value is True.
Default value: False.
<Parent> (optional)
Parent to be searched. If it is not specified, the search will be performed across all characteristic types.
Returned value:
Reference to a found characteristic type. If no element with the required description exists, an empty reference will be returned.
If description is not set (length = 0) and search is carried out by full match, will be returned Undefined.
Description:
Availability:
Note:
Example:
ChartsOfCharacteristicTypes[Name].FindByDescription(Value); // Name - chart of characteristic types as it is set in the Designer. |