示例#1
0
 /// <summary>
 /// Set item identified by key in a #PLIST_DICT node.
 /// The previous item identified by key will be freed using #plist_free.
 /// If there is no item for the given key a new item will be inserted.
 /// </summary>
 /// <param name="node">
 /// the node of type #PLIST_DICT
 /// </param>
 /// <param name="item">
 /// the new item associated to key
 /// </param>
 /// <param name="key">
 /// the identifier of the item to set.
 /// </param>
 public virtual void plist_dict_set_item(PlistHandle node, string key, PlistHandle item)
 {
     PlistNativeMethods.plist_dict_set_item(node, key, item);
     item.SetHandleAsInvalid();
 }