DavItem.GetPropertiesAsync Method

Namespace:
Weavy.Web.WebDAV
Assembly:
Weavy.Web.dll

GetPropertiesAsync(IListName>, bool)

Gets values of all properties or selected properties for this item.

public Task<IEnumerable<PropertyValue>> GetPropertiesAsync(IList<PropertyName> props, bool allprop)

Parameters

props
System.Collections.Generic.IList

Array of property names which values are requested. If a property does not exist for this hierarchy item then the property value shall not be returned.

allprop
bool

If it is true it means that besides properties listed in props you need to return all properties you think may be useful to client.

Returns

System.Threading.Tasks.Task>

Enumerable with property values.