DAVClientGetFolder Method |
Locates a FolderItem by it's string Name
Namespace: ARPDev.DAVLIBAssembly: ARPDev.DAVLIB (in ARPDev.DAVLIB.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic DAVFolder GetFolder(
string sFolderKey,
bool bAllowDiscovery = true,
DAVContainerType FolderType = DAVContainerType.Undefined
)
Public Function GetFolder (
sFolderKey As String,
Optional bAllowDiscovery As Boolean = true,
Optional FolderType As DAVContainerType = DAVContainerType.Undefined
) As DAVFolder
public:
DAVFolder^ GetFolder(
String^ sFolderKey,
bool bAllowDiscovery = true,
DAVContainerType FolderType = DAVContainerType::Undefined
)
member GetFolder :
sFolderKey : string *
?bAllowDiscovery : bool *
?FolderType : DAVContainerType
(* Defaults:
let _bAllowDiscovery = defaultArg bAllowDiscovery true
let _FolderType = defaultArg FolderType DAVContainerType.Undefined
*)
-> DAVFolder
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:
DAVFolderDAVFolder if it exists or could be resolved (otherwise Nothing)
Remarks
See Also