DavItem.Path Property

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

Unique item path in the repository relative to storage root.

The URL returned by this property is relative to storage root. If your server root is located at http://example.webdavsystem.com:8080/myserver/ and the item URL is http://example.webdavsystem.com:8080/myserver/myfolder/myitem.doc this property implementation must return myfolder/myitem.doc.

Every part of the path (between '/' characters) shall be encoded, for example using UrlHelper.EncodeUrlPart(string) />.

Examples:

  • File: myfolder/my%20doc.docx
  • Folder: myfolder/folder/
  • History item: myfolder/mydoc.docx?history
  • Version: myfolder/mydoc.docx?version=5

public string Path { get; protected set; }

Property value

System.String