Exemplo n.º 1
0
        /// <summary>
        /// Get the nth item in a #PLIST_DICT node.
        /// </summary>
        /// <param name="node">
        /// the node of type #PLIST_DICT
        /// </param>
        /// <param name="key">
        /// the identifier of the item to get.
        /// </param>
        /// <returns>
        /// the item or NULL if node is not of type #PLIST_DICT. The caller should not free
        /// the returned node.
        /// </returns>
        public virtual PlistHandle plist_dict_get_item(PlistHandle node, string key)
        {
            PlistHandle returnValue;

            returnValue     = PlistNativeMethods.plist_dict_get_item(node, key);
            returnValue.Api = this.Parent;
            return(returnValue);
        }