MKI_ProfileWriteNamedProperty (Settings) New in Version 2020.0

www.CAD6.com

C++ Syntax

bool

MKI_ProfileWriteNamedProperty(

 const LPCWSTR f_pszValueName,

 MKI_CONST_PROPERTY_REF f_rValue );

 

Writes a property set to a previously opened item in the configuration file or a collection item. The indexes of all elements will be used to determine the element names to write. (Use the other version if the element names shall be written directly.)

 

bool

MKI_ProfileWriteNamedProperty(

 const LPCWSTR f_pszValueName,

 MKI_CONST_NAMED_PROPERTY_REF f_rValue );

 

Writes a property set to a previously opened item in the configuration file or a collection item. The names of all elements as stored will be written directly, the indexes will be ignored. (Use the other version if the element indexes shall be used.)

 

Parameters

ValueName

[const LPCWSTR] Name of the value inside the plug-in's key, up to 63 characters. This value name must be unique throughout all values stored by the plug-in. Use a point as separator for nested value names and brackets for arrays (e.g. "UserData[5].Name").

Value

[MKI_CONST_PROPERTY_REF] Address of the property set to be stored.

[MKI_CONST_NAMED_PROPERTY_REF] Address of the property set to be stored.

 

Return Value

Returns true if successful, false if not.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH