Ejemplo n.º 1
0
        /// <summary>
        /// Get the nth item in a #PLIST_ARRAY node.
        /// </summary>
        /// <param name="node">
        /// the node of type #PLIST_ARRAY
        /// </param>
        /// <param name="n">
        /// the index of the item to get. Range is [0, array_size[
        /// </param>
        /// <returns>
        /// the nth item or NULL if node is not of type #PLIST_ARRAY
        /// </returns>
        public virtual PlistHandle plist_array_get_item(PlistHandle node, uint n)
        {
            PlistHandle returnValue;

            returnValue     = PlistNativeMethods.plist_array_get_item(node, n);
            returnValue.Api = this.Parent;
            return(returnValue);
        }