/// <summary> /// Modify a property from a WebDAV resource /// </summary> /// <param name="destination">The URL of the resource</param> /// <param name="property">Property to modify</param> /// <param name="propertyValue">The new Property value</param> /// <returns>void</returns> public void UpdateProperty(string destination, Property property, string propertyValue) { string body = BuildPropertyQuery(property.Name, property.NameSpace, propertyValue); IssueRequestIgnoreResponse(destination, Method.PROPPATCH, body); }
/// <summary> /// Add a property to the query to be deleted. /// </summary> /// <param name="property">The property to delete</param> public void AddRemoveProperty( Property property) { AddRemoveProperty(property.Name, property.NameSpace); }