Click or drag to resize
DAVClientGetFolder Method
Locates a FolderItem by it's string Name

Namespace: ARPDev.DAVLIB
Assembly: ARPDev.DAVLIB (in ARPDev.DAVLIB.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public DAVFolder GetFolder(
	string sFolderKey,
	bool bAllowDiscovery = true,
	DAVContainerType FolderType = DAVContainerType.Undefined
)

Parameters

sFolderKey
Type: SystemString
Common name string used to represent a folder. Eg: Calendar, Tasks, Contacts, $GAL (for Global Address List)
bAllowDiscovery (Optional)
Type: SystemBoolean
If set, and the folder is not already in the collection, then autodiscovery/resolution of the folder will be attempted (by querying the server)
FolderType (Optional)
Type: ARPDev.DAVLIBDAVContainerType
In the case where autodiscovery is allowed, this helps refine the discovery process. If omitted or specified as undefined, then the name FolderKey will be used to determine the collection type

Return Value

Type: DAVFolder
DAVFolder if it exists or could be resolved (otherwise Nothing)
Remarks