Click or drag to resize

IHierarchyItemGetPropertyNamesAsync Method

IT Hit WebDAV Classes Reference
Gets names of all properties for this item.

Namespace:  ITHit.WebDAV.Server
Assembly:  ITHit.WebDAV.Server (in ITHit.WebDAV.Server.dll) Version: 13.3.13068
Task<IEnumerable<PropertyName>> GetPropertyNamesAsync()

Return Value

Type: TaskIEnumerablePropertyName
Enumerable with available property names.

Most WebDAV clients never request list of property names, so your implementation can just return empty enumerable.


The code below is part of 'WebDAVServer.FileSystemStorage.AspNet' C# & VB samples provided with the SDK.

public async Task<IEnumerable<PropertyName>> GetPropertyNamesAsync()
    IList<PropertyValue> propertyValues = await GetPropertyValuesAsync();
    return propertyValues.Select(p => p.QualifiedName);
See Also