WebDavMethodHandlerBase GetItemFromCollection Method WebDAV#
Get the item in the collection from the requested Uri. WebDavException 409 Conflict possible.

Namespace: WebDAVSharp.Server.MethodHandlers
Assembly: WebDAVSharp.Server (in WebDAVSharp.Server.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static IWebDavStoreItem GetItemFromCollection(
	IWebDavStoreCollection collection,
	Uri childUri
)

Parameters

collection
Type: WebDAVSharp.Server.Stores IWebDavStoreCollection
The parent collection as a IWebDavStoreCollection
childUri
Type: System Uri
The Uri object containing the specific location of the child

Return Value

Type: IWebDavStoreItem
The IWebDavStoreItem from the IWebDavStoreCollection
Exceptions
ExceptionCondition
WebDavUnauthorizedExceptionIf user is not authorized to get access to the item
WebDavNotFoundExceptionIf item not found.
See Also