// ----- METHODS -----

        /// <summary>
        /// Deletes values from an attribute.
        /// </summary>
        /// <param name="attributeName">The name of the attribute with values to delete.</param>
        /// <param name="values">Optional: The specific values to delete from the object, or if null, will delete all attributes. Defaults to null.</param>
        /// <returns>True if the values were deleted, or false if there was an error or the values could not otherwise be deleted.</returns>
        public bool DeleteAttribute(string attributeName, object[] values = null)
        {
            if (!string.IsNullOrWhiteSpace(attributeName))
            {
                if (AD.DeleteAttribute(attributeName, Entry, values))
                {
                    // Refresh the object to reflect the change.
                    return(Refresh());
                }
            }
            return(false);
        }