Click or drag to resize

IHierarchyItemPath Property

IT Hit WebDAV Classes Reference
Unique item path in the repository relative to storage root.

Namespace: ITHit.WebDAV.Server
Assembly: ITHit.WebDAV.Server (in ITHit.WebDAV.Server.dll) Version: 4.5.3121.0
Syntax
string Path { get; }

Property Value

Type: String
String representing relative item path in the repository.
Remarks

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. To calculate the entire item URL the engine will call ApplicationPath property and attach it to url returned by Path property.

Every part of the path (between '/' characters) shall be encoded, for example using EncodeUtil.

Examples:

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

Examples

The code below is part of 'WebDAVServer.NtfsStorage' sample provided with the SDK.

public virtual string Path
{
    get { return path; }
}
See Also