WebDavDiskStoreCollection CreateDocument Method WebDAV#
Creates a new document with the specified name.

Namespace: WebDAVSharp.Server.Stores.DiskStore
Assembly: WebDAVSharp.Server (in WebDAVSharp.Server.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public IWebDavStoreDocument CreateDocument(
	string name
)

Parameters

name
Type: System String
The name of the new document.

Return Value

Type: IWebDavStoreDocument
The created IWebDavStoreDocument instance.

Implements

IWebDavStoreCollection CreateDocument(String)
Exceptions
ExceptionCondition
WebDavConflictExceptionIf the item already exists
WebDavUnauthorizedExceptionIf the user is unauthorized or has no access
See Also