nn::boss::TaskOption::SetProperty Member Functionnn::Result SetProperty( PropertyType type, const void * pValue, size_t size );
| Name | Description | |
|---|---|---|
| in | type | Specifies the property identifier. |
| in | pValue | Specifies the value. |
| in | size | Specifies the value size. |
Result values listed below. | Value | Description |
|---|---|
Result::IsSuccess |
Set successfully. |
ResultInvalidPropertyValue |
The property value pointer is NULL. |
ResultInvalidPropertyType |
The property type is not supported. |
| A value other than the above. | Unexpected error (see boss_Result.h for error details). |
Sets a property value in the class.
It can be used for the following properties. Call this function after allocating memory for the description's data type. Identifier: DescriptionTASK_STEP: Task step ID number. Data type is u8.
CONFIDENTIAL