Creates a new item with specified name and value in the section.
Parameters
Parameters
Description
name
[in] An ANSI string that contains the name of an item to be created.
value
[in] An ANSI string that contains the value of the created item.
Returns
A shared pointer to the created item; if the item with the specified name exists within the section, the method returns a NULL (nullptr) smart pointer.