WebDAV .NET Class Library
WebDAV .NET Class Library
WebDAV .NET
Independentsoft.Webdav
Resource Class
Resource Methods
ChangeProperty Method
Copy Method
CreateCollection Method
CreateFolder Method
Delete Method
Download Method
DownloadFile Method
Exists Method
GetAllowedMethods Method
GetInputStream Method
GetLock Method
GetOutputStream Method
GetProperties Method
GetPropertiesAsXml Method
GetProperty Method
GetPropertyNames Method
GetRequest Method
GetSize Method
GetSupportedDavLevel Method
GetSupportedLock Method
Head Method
IsCollection Method
IsLocked Method
List Method
ListWithProperties Method
Lock Method
Move Method
Options Method
RefreshLock Method
RemoveProperty Method
SetProperty Method
Unlock Method
Upload Method
UploadFile Method

# Resource CreateCollection Method

Create a collection with the given URI. The method is same as CreateFolder.

Namespace: Independentsoft.Webdav
Assembly: Independentsoft.Webdav (in Independentsoft.Webdav.dll) Version: 1.0.700.18437
Syntax
C#
VB
Copy

    public bool CreateCollection(
    	string address
    )

    Public Function CreateCollection (
    	address As String
    ) As Boolean

#### Parameters

address
  Type: System
  String
  The URI of new collection

#### Return Value

Type: Boolean
True if the collection created; otherwise, false.
Remarks
Any collection specified in address is created, unless already exist or unless some part of address is invalid. The path parameter specifies a collection path, not a file path.
See Also

#### Reference

Resource Class
Independentsoft.Webdav Namespace

Copyright 2022 Independentsoft

Send comments on this topic to support@independentsoft.de