Click or drag to resize

ContextAsyncTHierarchyItemAsyncGetHierarchyItemAsync Method

IT Hit WebDAV Classes Reference
Implementation of this abstract method is used by the engine to find hierarchy item objects by path.

Namespace:  ITHit.Server
Assembly:  ITHit.Server (in ITHit.Server.dll) Version: 9.1.5460-Beta
Syntax
public abstract Task<THierarchyItemAsync> GetHierarchyItemAsync(
	string path
)

Parameters

path
Type: SystemString
Path of the hierarchy item object (file, folder, version, etc.). It is always the full path from the root of the repository.

Return Value

Type: TaskTHierarchyItemAsync
Hierarchy item object referenced by the specified path or null if hierarchy item not found.
Remarks

When you inherit from the context class, you must override this abstract method. For Class 1 and Class 2 server in this method implementation you will search for file or folder in your storage by path provided and return it to engine. For G Suite server you will search only for files. For DeltaV server in addition to folder or file item you will return version and history items.

See Also