WebDavDiskStoreCollection CopyItemHere Method WebDAV#
Copies an existing store item into this collection, overwriting any existing items.

Namespace: WebDAVSharp.Server.Stores.DiskStore
Assembly: WebDAVSharp.Server (in WebDAVSharp.Server.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public IWebDavStoreItem CopyItemHere(
	IWebDavStoreItem source,
	string destinationName,
	bool includeContent
)

Parameters

source
Type: WebDAVSharp.Server.Stores IWebDavStoreItem
The store item to copy from.
destinationName
Type: System String
The name of the copy to create of source.
includeContent
Type: System Boolean
The boolean for copying the containing files/folders or not.

Return Value

Type: IWebDavStoreItem
The created IWebDavStoreItem instance.

Implements

IWebDavStoreCollection CopyItemHere(IWebDavStoreItem, String, Boolean)
Exceptions
ExceptionCondition
WebDavUnauthorizedExceptionIf the user is unauthorized or has no access
See Also