Detects whether the specified folder exists on the server. Not all IMAP servers support this!

Namespace:  Rebex.Net
Assembly:  Rebex.Imap (in Rebex.Imap.dll)

Syntax

Visual Basic
Public Function FolderExists ( _
	folder As String _
) As Boolean
C#
public bool FolderExists(
	string folder
)

Parameters

folder
Type: System..::..String
The path to the folder to check.

Return Value

True if the folder exists, false otherwise.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also