Creates a new document with the specified name.
Namespace: WebDAVSharp.Server.Stores.DiskStoreAssembly: WebDAVSharp.Server (in WebDAVSharp.Server.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- name
- Type: System String
The name of the new document.
Return Value
Type: IWebDavStoreDocumentThe created IWebDavStoreDocument instance.
Implements
IWebDavStoreCollection CreateDocument(String)Exceptions
Exception | Condition |
---|---|
WebDavConflictException | If the item already exists |
WebDavUnauthorizedException | If the user is unauthorized or has no access |
See Also